From: Christophe CURIS <christophe.cu...@free.fr> As pointed by Coverity, the memory allocated to contain the argument list for spawning ourself was never released.
Signed-off-by: Christophe CURIS <christophe.cu...@free.fr> --- src/monitor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/monitor.c b/src/monitor.c index c023b30..f06ff51 100644 --- a/src/monitor.c +++ b/src/monitor.c @@ -125,6 +125,7 @@ int MonitorLoop(int argc, char **argv) * the crash panel and ask the user what to do */ if (time(NULL) - last_start < 3) { if (showCrashDialog(WTERMSIG(status)) == 0) { + wfree(child_argv); return 1; } } @@ -133,5 +134,6 @@ int MonitorLoop(int argc, char **argv) } else break; } + wfree(child_argv); return 0; } -- 1.9.2 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.