changeset 179:8fafd0fc2173

get_profile_dirs(): close filedescriptor again. (found by cppcheck)
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 25 Mar 2014 17:28:55 +0100
parents b0579d4fa186
children bea93c8651b7
files cinst/mozilla.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cinst/mozilla.c	Tue Mar 25 17:21:40 2014 +0100
+++ b/cinst/mozilla.c	Tue Mar 25 17:28:55 2014 +0100
@@ -147,6 +147,7 @@
                 relative_path = true;
             }
         }
+      fclose(inifile);
     }
   else
     {

http://wald.intevation.org/projects/trustbridge/