eglimage: Fix memory leak
Also free the GstEGLImage struct allocated by g_new0. Fixes #661
This commit is contained in:
parent
4ccc7a51d1
commit
94984e13a9
@ -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 *
|
||||
|
Loading…
x
Reference in New Issue
Block a user