summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-06-14 19:04:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-06-14 19:04:44 +0200
commit2d2292caede8d4bebb7968fb8fb181df55f07aaf (patch)
tree3209453ed22d607e4c6f2f3cffb1a789ce6272cc /src/phmain.c
parentd576a81e1f0481cef490974509273e54dd572372 (diff)
Fix for various cppcheck warnings
Diffstat (limited to 'src/phmain.c')
-rw-r--r--src/phmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/phmain.c b/src/phmain.c
index a634490..a21b135 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -288,6 +288,7 @@ int main( int argc, char **argv )
if(start_ncurses("PhotoRec", argv[0]))
{
free(params.recup_dir);
+ log_close();
return 1;
}
{