Commit 4e545710 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Rootless.c: fix possible memleak

parent 1b6b76b5
...@@ -334,6 +334,7 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren) ...@@ -334,6 +334,7 @@ void nxagentRootlessRestack(unsigned long children[], unsigned int nchildren)
if (!ntoplevel) if (!ntoplevel)
{ {
free(toplevel);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment