Plug leak: When reordering the info in the list the old node is removed

2007-12-15  Xan Lopez  <xan.lopez@nokia.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):

	Plug leak: When reordering the info in the list the old node is
	removed but not freed. (#503569)

svn path=/trunk/; revision=19184
This commit is contained in:
Xan Lopez 2007-12-15 11:15:19 +00:00 committed by Xan Lopez
parent 33499debed
commit 447de09918
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-12-15 Xan Lopez <xan.lopez@nokia.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
Plug leak: When reordering the info in the list the old node is
removed but not freed. (#503569)
2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
* gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):

View File

@ -762,7 +762,7 @@ gtk_tree_view_column_cell_layout_reorder (GtkCellLayout *cell_layout,
g_return_if_fail (link != NULL);
column->cell_list = g_list_remove_link (column->cell_list, link);
column->cell_list = g_list_delete_link (column->cell_list, link);
column->cell_list = g_list_insert (column->cell_list, info, position);
if (column->tree_view)