Fix some leaks

This commit is contained in:
TingPing committed 2014-12-11 12:13:57 -05:00
1 parent 72f82d096c
commit d6e3f740bc
2 files changed
+7

No files matched your search

+2
View File
@@ -1778,6 +1778,8 @@ hexchat_pluginpref_set_str_real (hexchat_plugin *pl, const char *var, const char
{
g_free (confname);
g_free (confname_tmp);
if (fpIn)
fclose (fpIn);
return 0;
}
else if (fpIn == NULL) /* no previous config file, no parsing */