diff cinst/mozilla.c @ 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 c92297bcda8f
children bea93c8651b7
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/