mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
eglimage: Fix memory leak
Also free the GstEGLImage struct allocated by g_new0. Fixes #661
This commit is contained in:
parent
4ccc7a51d1
commit
94984e13a9
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue