Commit 447de099 authored by Xan Lopez's avatar Xan Lopez Committed by Xan Lopez

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
parent 33499deb
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):
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment