aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-08-21 21:47:19 +0200
committerMattias Andrée <maandree@operamail.com>2013-08-21 21:47:19 +0200
commit1546e44f86b1fcc0122f2ce0053052d31f41794f (patch)
treeffd50d36cf9468ee152a3fbc5551ed5b52425c54
parentmissed to close file (diff)
downloadargparser-1546e44f86b1fcc0122f2ce0053052d31f41794f.tar.gz
argparser-1546e44f86b1fcc0122f2ce0053052d31f41794f.tar.bz2
argparser-1546e44f86b1fcc0122f2ce0053052d31f41794f.tar.xz
missed to close file
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/argparser.c1
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);