eglimage: Fix memory leak

Also free the GstEGLImage struct allocated by g_new0.

Fixes #661
This commit is contained in:
Jonas Larsson 2019-08-28 11:24:01 -07:00
parent 4ccc7a51d1
commit 94984e13a9

View file

@ -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 *