Commit 17706a46 by Arjun Sreedharan Committed by Stéphane Graber

lxc_monitor: free @preg on error

reuse label cleanup since free(NULL) is a no-op Signed-off-by: 's avatarArjun Sreedharan <arjun024@gmail.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 8bee8851
......@@ -150,7 +150,7 @@ int main(int argc, char *argv[])
if (!fds) {
SYSERROR("out of memory");
rc_main = -1;
goto error;
goto cleanup;
}
nfds = my_args.lxcpath_cnt;
......
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