From: Matthias Clasen Date: Tue, 15 Mar 2022 14:35:09 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~3^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ba885e2ace2b950f5e680e813ba96b8f12ffe99e;p=gtk4.git Apply 1 suggestion(s) to 1 file(s) --- diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 60f07e4558..89f5b69ff1 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -921,9 +921,7 @@ create_cloud_provider_account_row (GtkPlacesSidebar *sidebar, g_free (tooltip); g_free (mount_uri); - if (end_icon) { - g_object_unref (end_icon); - } + g_clear_object (&end_icon); return TRUE; }