Fix two memory leaks in filtering action dialog widgets.
authorAndrej Kacian <ticho@claws-mail.org>
Wed, 12 Jul 2017 08:34:44 +0000 (10:34 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Wed, 12 Jul 2017 08:34:44 +0000 (10:34 +0200)
src/prefs_filtering_action.c

index fa1cb08..587a418 100644 (file)
@@ -659,6 +659,9 @@ static void prefs_filtering_action_create(void)
        gtk_widget_set_size_request(window, prefs_common.filteringactionwin_width,
                                    prefs_common.filteringactionwin_height);
 
+       g_object_unref(G_OBJECT(size_group));
+       g_object_unref(G_OBJECT(size_action));
+
        gtk_widget_show_all(window);
 
        filtering_action.window    = window;