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 Tim-Philipp Müller
parent 7bf17ac500
commit 7a00688122

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