forked from AuroraMiddleware/gtk
plug a memory leak
svn path=/trunk/; revision=21314
This commit is contained in:
parent
d8f4295267
commit
4b97ecb8f9
@ -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
|
||||
|
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user