diff --git a/src/st/st-icon.c b/src/st/st-icon.c index aa98ed223..70e4fb46c 100644 --- a/src/st/st-icon.c +++ b/src/st/st-icon.c @@ -549,7 +549,7 @@ void st_icon_set_icon_name (StIcon *icon, const gchar *icon_name) { - GIcon *gicon = NULL; + g_autoptr(GIcon) gicon = NULL; g_return_if_fail (ST_IS_ICON (icon));