pmap: Plug mem- and fd-leak in one_proc().
This commit is contained in:
parent
32e57dbb88
commit
6e4eade3d4
1
pmap.c
1
pmap.c
@ -547,6 +547,7 @@ static int one_proc(proc_t * p)
|
||||
|
||||
if (X_option || c_option) {
|
||||
print_extended_maps(fp);
|
||||
fclose(fp);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user