Commit 94984e13 authored by Jonas Larsson's avatar Jonas Larsson

eglimage: Fix memory leak

Also free the GstEGLImage struct allocated by g_new0.

Fixes #661
parent 4ccc7a51
......@@ -247,6 +247,8 @@ _gst_egl_image_free (GstMiniObject * object)
(GstGLContextThreadFunc) _gst_egl_image_free_thread, image);
gst_object_unref (image->context);
g_free (image);
static GstMiniObject *
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment