After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 68200 - GtkToolbar - minor memory leak
GtkToolbar - minor memory leak
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
1.3.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 669183 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-01-07 21:21 UTC by Damon Chaplin
Modified: 2013-12-10 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Damon Chaplin 2002-01-07 21:21:19 UTC
GtkToolbar - gtk_real_toolbar_style_changed() has a memory leak:

  box = (GtkWidget*)gtk_container_get_children (GTK_CONTAINER
(child->widget))->data;

It should g_list_free() the list of children (as GtkDialog does).

(There are 2 occurrences of this)
Comment 1 Owen Taylor 2002-01-08 19:49:38 UTC
Testing would be appreciated.

Tue Jan  8 14:42:19 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktoolbar.c: Fix leaks of results of
	gtk_container_get_children(). (#68199, Damon Chaplin)
Comment 2 Geert Janssens 2013-12-10 17:20:59 UTC
*** Bug 669183 has been marked as a duplicate of this bug. ***