diff --git a/lib/base/process.cpp b/lib/base/process.cpp index d22a3bbcd..b6b0d9d42 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -148,7 +148,7 @@ void Process::Run(void) void Process::WorkerThreadProc(int taskFd) { map tasks; - pollfd *pfds; + pollfd *pfds = NULL; for (;;) { map::iterator it, prev;