diff --git a/thunar/thunar-notify.c b/thunar/thunar-notify.c index b7c647f..428e4c6 100644 --- a/thunar/thunar-notify.c +++ b/thunar/thunar-notify.c @@ -85,10 +85,7 @@ thunar_notify_show (ThunarDevice *device, { icon_file = g_file_icon_get_file (G_FILE_ICON (icon)); if (icon_file != NULL) - { - icon_name = g_file_get_path (icon_file); - g_object_unref (icon_file); - } + icon_name = g_file_get_path (icon_file); } g_object_unref (icon); }