aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-16 21:38:40 +0800
committerXan Lopez <xan@igalia.com>2013-03-16 21:38:40 +0800
commit8d57b89b5eb71b3ad8de4c429a1f961caccdcbde (patch)
tree1066037344ab57d55899bd6615176d853aff2cc2 /src
parent962c16cddee4b246c434ffed44913f192ad1ba79 (diff)
downloadgsoc2013-epiphany-8d57b89b5eb71b3ad8de4c429a1f961caccdcbde.tar.gz
gsoc2013-epiphany-8d57b89b5eb71b3ad8de4c429a1f961caccdcbde.tar.zst
gsoc2013-epiphany-8d57b89b5eb71b3ad8de4c429a1f961caccdcbde.zip
ephy-find-toolbar: fix memory leak
The size group initial reference can be dropped after adding all the widgets.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-find-toolbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-find-toolbar.c b/src/ephy-find-toolbar.c
index 336f876da..ae74e4046 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 ();