1
0
Fork 0

clutter/offscreen-effect: Use memory management helpers more

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496
This commit is contained in:
Jonas Ådahl 2020-10-14 21:14:56 +02:00 committed by Georges Basile Stavracas Neto
parent 88c830b9ab
commit 29cdc35654

View file

@ -240,8 +240,7 @@ update_fbo (ClutterEffect *effect,
error->message);
g_object_unref (offscreen);
cogl_object_unref (priv->pipeline);
priv->pipeline = NULL;
cogl_clear_object (&priv->pipeline);
priv->target_width = 0;
priv->target_height = 0;