forked from AuroraMiddleware/gtk
free path before we return (in case of a failure here)
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl> * gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before we return (in case of a failure here)
This commit is contained in:
parent
4da8e00b62
commit
b95c4f0bb3
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
we return (in case of a failure here)
|
||||
|
||||
Fri Nov 23 19:22:50 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Handle events in windows other
|
||||
|
@ -1169,7 +1169,10 @@ gtk_tree_model_foreach (GtkTreeModel *model,
|
||||
|
||||
path = gtk_tree_path_new_root ();
|
||||
if (gtk_tree_model_get_iter (model, &iter, path) == FALSE)
|
||||
return;
|
||||
{
|
||||
gtk_tree_path_free (path);
|
||||
return;
|
||||
}
|
||||
|
||||
gtk_tree_model_foreach_helper (model, &iter, path, func, user_data);
|
||||
gtk_tree_path_free (path);
|
||||
|
Loading…
Reference in New Issue
Block a user