diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-08-21 21:47:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-08-21 21:47:19 +0200 |
commit | 1546e44f86b1fcc0122f2ce0053052d31f41794f (patch) | |
tree | ffd50d36cf9468ee152a3fbc5551ed5b52425c54 /src | |
parent | missed to close file (diff) | |
download | argparser-1546e44f86b1fcc0122f2ce0053052d31f41794f.tar.gz argparser-1546e44f86b1fcc0122f2ce0053052d31f41794f.tar.bz2 argparser-1546e44f86b1fcc0122f2ce0053052d31f41794f.tar.xz |
missed to close file
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-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 ccdc9e1..ae77833 100644 --- a/src/argparser.c +++ b/src/argparser.c @@ -775,6 +775,7 @@ char* args_parent_name(long levels) else if (j < 35) *(buf + j++) = c; } + fclose(is); if (found == false) { free(data); |