* Makefile.in: Add some more -fomit-frame-pointer files.
* path.cc (conv_path_list_buf_size): Free normalized_path or suffer memory leak. * syscalls.cc (chroot): Ditto.
This commit is contained in:
@@ -2373,6 +2373,8 @@ chroot (const char *newroot)
|
||||
|
||||
syscall_printf ("%d = chroot (%s)", ret ? get_errno () : 0,
|
||||
newroot ? newroot : "NULL");
|
||||
if (path.normalized_path)
|
||||
cfree (path.normalized_path);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user