From 8d57b89b5eb71b3ad8de4c429a1f961caccdcbde Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 16 Mar 2013 14:38:40 +0100 Subject: 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 file changed, 1 insertion(+) (limited to 'src') 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 (); -- cgit