diff options
-rw-r--r-- | trans/fakeroot.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trans/fakeroot.c b/trans/fakeroot.c index 32a34ec4..df2de646 100644 --- a/trans/fakeroot.c +++ b/trans/fakeroot.c @@ -119,6 +119,7 @@ new_node (file_t file, mach_port_t idport, int locked, int openmodes, mach_port_deallocate (mach_task_self (), nn->idport); mach_port_deallocate (mach_task_self (), file); free (*np); + *np = NULL; return err; } |