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.8.3+ds-2+rpi1~3^2~20^2~4^2~310^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8057bee2958442f3e556022ef98a466c48b0bfc1;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; }