1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Free GList in wins_get_plugin

This commit is contained in:
James Booth 2016-03-07 18:30:13 +00:00
parent 355adb117c
commit 958dc6b184

View File

@ -212,6 +212,7 @@ wins_get_plugin(const char *const tag)
if (window->type == WIN_PLUGIN) {
ProfPluginWin *pluginwin = (ProfPluginWin*)window;
if (g_strcmp0(pluginwin->tag, tag) == 0) {
g_list_free(values);
return pluginwin;
}
}