diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index ac25f728fa..f2b2f7d15a 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -464,6 +464,8 @@ shortcuts_insert_path (GtkFileChooserImplDefault *impl, SHORTCUTS_COL_PATH, path_copy, -1); + gtk_file_info_free (info); + if (pixbuf) g_object_unref (pixbuf); diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index 0489889dc0..ff782f0c2f 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -101,6 +101,8 @@ gtk_file_info_free (GtkFileInfo *info) g_free (info->mime_type); if (info->display_key) g_free (info->display_key); + + g_free (info); } G_CONST_RETURN gchar *