mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
eglglessink: Don't leak EGL/ES render context
This commit is contained in:
parent
bab81de275
commit
b5b98fc874
1 changed files with 3 additions and 0 deletions
|
@ -2308,6 +2308,9 @@ gst_eglglessink_finalize (GObject * object)
|
||||||
g_mutex_free (eglglessink->flow_lock);
|
g_mutex_free (eglglessink->flow_lock);
|
||||||
eglglessink->flow_lock = NULL;
|
eglglessink->flow_lock = NULL;
|
||||||
|
|
||||||
|
g_free (eglglessink->eglglesctx);
|
||||||
|
eglglessink->eglglesctx = NULL;
|
||||||
|
|
||||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue