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:
Matthias Clasen 2003-11-27 23:27:40 +00:00 committed by Matthias Clasen
parent a2ea36c055
commit 6f9b92150f
6 changed files with 28 additions and 2 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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;
}
}