projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc9b17
)
gtkmenusectionbox: plug a leak
author
Carlos Garnacho
<carlosg@gnome.org>
Thu, 25 Jun 2015 12:55:56 +0000
(14:55 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Thu, 25 Jun 2015 13:09:56 +0000
(15:09 +0200)
The list returned by gtk_container_get_children() wasn't being freed.
gtk/gtkmenusectionbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkmenusectionbox.c
b/gtk/gtkmenusectionbox.c
index 1f38e1b81f0bc9b7ebfd366186929e2ab65df1c8..0557bc9e2b57c511e211acc1e515002925e2d8fc 100644
(file)
--- a/
gtk/gtkmenusectionbox.c
+++ b/
gtk/gtkmenusectionbox.c
@@
-395,6
+395,8
@@
update_popover_position_cb (GObject *source,
else
gtk_widget_set_valign (w, GTK_ALIGN_CENTER);
}
+
+ g_list_free (children);
}
void