mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
gltestsrc: fix src_impl leak
https://bugzilla.gnome.org/show_bug.cgi?id=766661
This commit is contained in:
parent
db90f4686f
commit
dff46e3239
1 changed files with 5 additions and 0 deletions
|
@ -568,6 +568,11 @@ gst_gl_test_src_stop (GstBaseSrc * basesrc)
|
|||
src->context = NULL;
|
||||
}
|
||||
|
||||
if (src->src_impl) {
|
||||
src->src_funcs->free (src->src_impl);
|
||||
src->src_impl = NULL;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue