gltestsrc: fix src_impl leak
https://bugzilla.gnome.org/show_bug.cgi?id=766661
This commit is contained in:
parent
7bf17ac500
commit
7a00688122
@ -568,6 +568,11 @@ gst_gl_test_src_stop (GstBaseSrc * basesrc)
|
|||||||
src->context = NULL;
|
src->context = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (src->src_impl) {
|
||||||
|
src->src_funcs->free (src->src_impl);
|
||||||
|
src->src_impl = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user