[epiphany] ephy-find-toolbar: fix memory leak



commit 8d57b89b5eb71b3ad8de4c429a1f961caccdcbde
Author: Xan Lopez <xan igalia com>
Date:   Sat Mar 16 14:38:40 2013 +0100

    ephy-find-toolbar: fix memory leak
    
    The size group initial reference can be dropped after adding all the
    widgets.

 src/ephy-find-toolbar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 336f876..ae74e40 100644
--- a/src/ephy-find-toolbar.c
+++ b/src/ephy-find-toolbar.c
@@ -607,6 +607,7 @@ ephy_find_toolbar_init (EphyFindToolbar *toolbar)
        gtk_widget_set_halign (right_box, GTK_ALIGN_END);
        gtk_widget_set_hexpand (right_box, TRUE);
        gtk_size_group_add_widget (size_group, right_box);
+        g_object_unref (size_group);
 
        /* Find: |_____| */
        priv->entry = gtk_entry_new ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]