eglglessink: Don't leak EGL/ES render context

This commit is contained in:
Sebastian Dröge 2012-09-25 09:06:04 +02:00
parent bab81de275
commit b5b98fc874

View file

@ -2308,6 +2308,9 @@ gst_eglglessink_finalize (GObject * object)
g_mutex_free (eglglessink->flow_lock);
eglglessink->flow_lock = NULL;
g_free (eglglessink->eglglesctx);
eglglessink->eglglesctx = NULL;
G_OBJECT_CLASS (parent_class)->finalize (object);
}