gltestsrc: fix src_impl leak

https://bugzilla.gnome.org/show_bug.cgi?id=766661
This commit is contained in:
Guillaume Desmottes 2016-05-23 10:40:58 +03:00 committed by Matthew Waters
parent db90f4686f
commit dff46e3239

View file

@ -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;
}