mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-05 16:25:39 +00:00
Fix some leaks
This commit is contained in:
1 parent
ba399eb7f9
commit
b17c0276de
6 files changed
+16
No files matched your search
@@ -1404,7 +1404,10 @@ util_exec (const char *cmd)
|
||||
#ifndef WIN32
|
||||
pid = fork ();
|
||||
if (pid == -1)
|
||||
{
|
||||
free (argv);
|
||||
return -1;
|
||||
}
|
||||
if (pid == 0)
|
||||
{
|
||||
/* Now close all open file descriptors except stdin, stdout and stderr */
|
||||
|
||||
Reference in new issue
Block a user