diff options
-rw-r--r-- | init/init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index edfe1236..930408e8 100644 --- a/init/init.c +++ b/init/init.c @@ -1068,14 +1068,13 @@ start_child (const char *prog, char **progargs) NULL, 0, NULL, 0); mach_port_deallocate (mach_task_self (), default_ports[INIT_PORT_PROC]); mach_port_deallocate (mach_task_self (), file); - free (args); if (err) { error (0, err, "Cannot execute %s", args); free (args); return -1; } - + free (args); return 0; } |