Commit be9d0fa2 authored by Li Yuan's avatar Li Yuan Committed by Li Yuan

Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.

2008-01-11  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (gail_tree_view_get_n_rows):
        Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.

svn path=/trunk/; revision=19349
parent a39f6c46
2008-01-11 Li Yuan <li.yuan@sun.com>
* gailtreeview.c: (gail_tree_view_get_n_rows):
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
......@@ -1256,7 +1256,7 @@ gail_tree_view_get_n_rows (AtkTable *table)
root_tree = gtk_tree_path_new_root ();
iterate_thru_children (tree_view, tree_model,
root_tree, NULL, &n_rows, 0);
g_free (root_tree);
gtk_tree_path_free (root_tree);
}
return n_rows;
......
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