Commit 6f9b9215 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent a2ea36c0
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.
......
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.
......
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.
......
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.
......
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;
}
}
......
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