mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
gltestsrc: fix src_impl leak
https://bugzilla.gnome.org/show_bug.cgi?id=766661
This commit is contained in:
parent
7bf17ac500
commit
7a00688122
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