plug a memory leak

svn path=/trunk/; revision=21314
This commit is contained in:
Matthias Clasen 2008-09-07 22:18:37 +00:00
parent d8f4295267
commit 4b97ecb8f9
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-09-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Plug
a memory leak.
2008-09-06 Matthias Clasen <mclasen@redhat.com>
Bug 550062 Small update in gdk/gdkkeysyms.h

View File

@ -1958,6 +1958,8 @@ shortcuts_append_bookmarks (GtkFileChooserDefault *impl,
label = _gtk_file_system_get_bookmark_label (impl->file_system, file);
shortcuts_insert_file (impl, start_row + num_inserted, SHORTCUT_TYPE_FILE, NULL, file, label, TRUE, SHORTCUTS_BOOKMARKS);
g_free (label);
num_inserted++;
}