[PATCH 1/2] base/workers.c: Plug memory leak in wproc_destroy

Andreas Ericsson ae at op5.se
Fri Nov 2 12:29:47 CET 2012


On 11/01/2012 05:38 PM, rsonefors at op5.com wrote:
> From: Robin Sonefors <robin.sonefors at op5.com>
> 
> We used to stop destroying jobs when we'd destroyed half of them, since
> destroy_job decreases jobs_running. To destroy all of them, we should go
> on destroying while jobs_running is non-zero.
> 
> This leak occured once every time nagios received a RESTART_PROCESS
> command or a SIGHUP signal.
> 
> Patch-by: Max Sikström <msikstrom at op5.com>
> Signed-off-by: Robin Sonefors <robin.sonefors at op5.com>

Applied. Thanks.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d




More information about the Developers mailing list