diff --git a/src/st/st-widget.c b/src/st/st-widget.c index 6c6fd3a3f..807d8d0eb 100644 --- a/src/st/st-widget.c +++ b/src/st/st-widget.c @@ -829,7 +829,7 @@ st_widget_get_paint_volume (ClutterActor *self, child != NULL; child = clutter_actor_get_next_sibling (child)) { - const ClutterPaintVolume *child_volume; + g_autoptr (ClutterPaintVolume) child_volume = NULL; if (!clutter_actor_is_visible (child)) continue;