pmap: Plug mem- and fd-leak in one_proc().

This commit is contained in:
Qualys Security Advisory 1970-01-01 00:00:00 +00:00 committed by Craig Small
parent 32e57dbb88
commit 6e4eade3d4

1
pmap.c
View File

@ -547,6 +547,7 @@ static int one_proc(proc_t * p)
if (X_option || c_option) {
print_extended_maps(fp);
fclose(fp);
return 0;
}