gtk+ r19336 - in branches/gtk-2-12: . gtk
- From: kristian svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r19336 - in branches/gtk-2-12: . gtk
- Date: Thu, 10 Jan 2008 10:39:47 +0000 (GMT)
Author: kristian
Date: Thu Jan 10 10:39:47 2008
New Revision: 19336
URL: http://svn.gnome.org/viewvc/gtk+?rev=19336&view=rev
Log:
2008-01-10 Kristian Rietveld <kris imendio com>
Merge from trunk:
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/gtk/gtktreemodelfilter.c
Modified: branches/gtk-2-12/gtk/gtktreemodelfilter.c
==============================================================================
--- branches/gtk-2-12/gtk/gtktreemodelfilter.c (original)
+++ branches/gtk-2-12/gtk/gtktreemodelfilter.c Thu Jan 10 10:39:47 2008
@@ -2216,13 +2216,14 @@
g_return_val_if_fail (GTK_TREE_MODEL_FILTER (model)->priv->child_model != NULL, NULL);
g_return_val_if_fail (GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp, NULL);
- retval = gtk_tree_path_new ();
level = iter->user_data;
elt = iter->user_data2;
if (!elt->visible)
return NULL;
+ retval = gtk_tree_path_new ();
+
while (level)
{
int i = 0, index = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]