forked from AuroraMiddleware/gtk
Fix mem leak introduced with my previous commit
This commit is contained in:
parent
8599c98780
commit
0d9d3025c6
@ -753,7 +753,7 @@ gtk_recent_manager_add_item_query_info (GObject *source_object,
|
||||
g_object_unref (file_info);
|
||||
}
|
||||
else
|
||||
recent_data.mime_type = g_content_type_guess (g_file_get_basename (file), NULL, 0, NULL);
|
||||
recent_data.mime_type = g_content_type_guess (uri, NULL, 0, NULL);
|
||||
|
||||
recent_data.app_name = g_strdup (g_get_application_name ());
|
||||
recent_data.app_exec = g_strjoin (" ", g_get_prgname (), "%u", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user