forked from AuroraMiddleware/gtk
Don't use freed memory. (#127698, Taavi Talvik)
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): Don't use freed memory. (#127698, Taavi Talvik)
This commit is contained in:
parent
a2ea36c055
commit
6f9b92150f
@ -1,3 +1,8 @@
|
||||
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
|
||||
Don't use freed memory. (#127698, Taavi Talvik)
|
||||
|
||||
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
|
||||
Don't use freed memory. (#127698, Taavi Talvik)
|
||||
|
||||
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
|
||||
Don't use freed memory. (#127698, Taavi Talvik)
|
||||
|
||||
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
|
||||
Don't use freed memory. (#127698, Taavi Talvik)
|
||||
|
||||
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Nov 28 00:26:24 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize):
|
||||
Don't use freed memory. (#127698, Taavi Talvik)
|
||||
|
||||
Fri Nov 28 00:09:10 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkfilechooserentry.c: Remove debug g_print()s.
|
||||
|
@ -247,7 +247,7 @@ static void
|
||||
gtk_file_system_model_finalize (GObject *object)
|
||||
{
|
||||
GtkFileSystemModel *model = GTK_FILE_SYSTEM_MODEL (object);
|
||||
FileModelNode *children;
|
||||
FileModelNode *children, *next;
|
||||
|
||||
if (model->root_folder)
|
||||
g_object_unref (model->root_folder);
|
||||
@ -255,8 +255,9 @@ gtk_file_system_model_finalize (GObject *object)
|
||||
children = model->roots;
|
||||
while (children)
|
||||
{
|
||||
next = children->next;
|
||||
file_model_node_free (children);
|
||||
children = children->next;
|
||||
children = next;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user