diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-21 21:45:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-21 21:45:38 +0200 |
commit | ce4c4463fe8cc7bcd9b22bd60d0515017310d4c1 (patch) | |
tree | 9035f5e2e1a0dfd07a3ee4687ba06b9cd97f0539 | |
parent | rare case memory leak (diff) | |
download | argparser-ce4c4463fe8cc7bcd9b22bd60d0515017310d4c1.tar.gz argparser-ce4c4463fe8cc7bcd9b22bd60d0515017310d4c1.tar.bz2 argparser-ce4c4463fe8cc7bcd9b22bd60d0515017310d4c1.tar.xz |
missed to close file
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/argparser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/argparser.c b/src/argparser.c index 122aa68..ccdc9e1 100644 --- a/src/argparser.c +++ b/src/argparser.c @@ -803,6 +803,7 @@ char* args_parent_name(long levels) else break; } + fclose(is); if (*cmd == 0) { free(cmd); |