about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-03-07 18:30:13 +0000
committerJames Booth <boothj5@gmail.com>2016-03-07 18:30:13 +0000
commit958dc6b18454774f13f2a4976a06f5800154039d (patch)
tree7a205e7f38b662b574069b3e3658bb88b8304def
parent355adb117cf1e66eca95a162bb1986b4fd049043 (diff)
downloadprofani-tty-958dc6b18454774f13f2a4976a06f5800154039d.tar.gz
Free GList in wins_get_plugin
-rw-r--r--src/window_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window_list.c b/src/window_list.c
index 5fab7ba0..9e4ede98 100644
--- a/src/window_list.c
+++ b/src/window_list.c
@@ -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;
             }
         }