clutter/offscreen-effect: Use memory management helpers more
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496
This commit is contained in:
parent
88c830b9ab
commit
29cdc35654
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue