diff options
author | TingPing <tingping@tingping.se> | 2014-12-11 12:13:57 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-12-11 12:13:57 -0500 |
commit | d6e3f740bc93e6bf472d165f5a7c5e8b69be1a8b (patch) | |
tree | d8a94487bab1de2ff9a5269d1ae021667d1c212f /src/common/plugin.c | |
parent | 72f82d096c05dc97b26f9ca30093343161dc4444 (diff) |
Fix some leaks
Diffstat (limited to 'src/common/plugin.c')
-rw-r--r-- | src/common/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/plugin.c b/src/common/plugin.c index f386346e..fbef743a 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -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 */ |