diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-04-04 23:36:37 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-04-04 23:36:37 +0000 |
commit | 7388eeaa2bd64f84a0fce21120ffa0cabb1dce0c (patch) | |
tree | 575287864699470c704859c5b8eb789c4788150e /gtk/gtkfilechooserentry.c | |
parent | bc3fb55c1bd579ba6fe81f50f8865e915b9c4ff2 (diff) | |
download | gdk-pixbuf-7388eeaa2bd64f84a0fce21120ffa0cabb1dce0c.tar.gz |
Fix double free.
Fri Apr 4 18:29:27 2003 Owen Taylor <otaylor@redhat.com>
* gtkfilechooserentry.c: Fix double free.
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index ff3d7baee..6112fbe9c 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -180,7 +180,7 @@ completion_idle_callback (GtkFileChooserEntry *chooser_entry) gtk_file_folder_list_children (chooser_entry->current_folder, &child_paths, NULL); /* NULL-GError */ - + for (tmp_list = child_paths; tmp_list; tmp_list = tmp_list->next) { GtkFileInfo *info; @@ -245,7 +245,6 @@ completion_idle_callback (GtkFileChooserEntry *chooser_entry) } gtk_file_paths_free (child_paths); - g_slist_free (child_paths); if (common_prefix) { |