From 4981eab599095dfdb04d51f54ebe550e3b680e2f Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 1 Feb 2010 01:32:10 +0000 Subject: Fix possible uninit memory access detected by valgrind git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12346 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/socketengine.cpp b/src/socketengine.cpp index 98916e602..e24378e26 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -16,6 +16,7 @@ EventHandler::EventHandler() { fd = -1; + event_mask = 0; } void EventHandler::SetFd(int FD) -- cgit v1.2.3