projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73deda8
)
eglimage: Fix memory leak
author
Jonas Larsson
<ljonas@google.com>
Wed, 28 Aug 2019 18:24:01 +0000
(11:24 -0700)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 8 Sep 2019 18:19:49 +0000
(18:19 +0000)
Also free the GstEGLImage struct allocated by g_new0.
Fixes #661
gst-libs/gst/gl/egl/gsteglimage.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/egl/gsteglimage.c
b/gst-libs/gst/gl/egl/gsteglimage.c
index
7efb183
..
85fbefa
100644
(file)
--- a/
gst-libs/gst/gl/egl/gsteglimage.c
+++ b/
gst-libs/gst/gl/egl/gsteglimage.c
@@
-227,6
+227,8
@@
_gst_egl_image_free (GstMiniObject * object)
(GstGLContextThreadFunc) _gst_egl_image_free_thread, image);
gst_object_unref (image->context);
}
+
+ g_free (image);
}
static GstMiniObject *