comparison 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
comparison
equal deleted inserted replaced
178:b0579d4fa186 179:8fafd0fc2173
145 else if (str_equal(key, "IsRelative") && 145 else if (str_equal(key, "IsRelative") &&
146 str_starts_with(value, "1")) 146 str_starts_with(value, "1"))
147 relative_path = true; 147 relative_path = true;
148 } 148 }
149 } 149 }
150 fclose(inifile);
150 } 151 }
151 else 152 else
152 { 153 {
153 DEBUGFPRINT("DEBUG: WARN! Could not open ini file: '%s'\n", inifile_name) 154 DEBUGFPRINT("DEBUG: WARN! Could not open ini file: '%s'\n", inifile_name)
154 return_code |= WARN_MOZ_FAILED_TO_OPEN_INI; 155 return_code |= WARN_MOZ_FAILED_TO_OPEN_INI;

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