diff options
author | 2016-06-19 22:59:29 -0400 | |
---|---|---|
committer | 2016-06-19 22:59:29 -0400 | |
commit | 75ab6c592861c877e8b9b477170b46c4e8922b2a (patch) | |
tree | 72a45d84b00caecb84ac9d2cd2ce9745e061963d /pspax.c | |
parent | paxmacho: fix mem leak when reading macho files (diff) | |
download | pax-utils-75ab6c592861c877e8b9b477170b46c4e8922b2a.tar.gz pax-utils-75ab6c592861c877e8b9b477170b46c4e8922b2a.tar.bz2 pax-utils-75ab6c592861c877e8b9b477170b46c4e8922b2a.zip |
pspax: fix file leakage when reading the command line
Diffstat (limited to 'pspax.c')
-rw-r--r-- | pspax.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -88,6 +88,8 @@ static char *get_proc_name_cmdline(int pfd) fclose(fp); return NULL; } + fclose(fp); + return (str); } |