Commit 73fa9808 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

panel: avoid a critical

g_file_query_info can return NULL. Use g_clear_object to make
sure we don't try to unref NULL pointer.
parent 716791b9
......@@ -697,7 +697,7 @@ drop_urilist (PanelWidget *panel,
success = FALSE;
g_object_unref (info);
g_clear_object (&info);
g_object_unref (file);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment