Commit 6568cc85 authored by Nicolas Dufresne's avatar Nicolas Dufresne Committed by Gwenole Beauchesne

vaapisink: don't leak GL texture.

Signed-off-by: default avatarGwenole Beauchesne <>
parent 3702e711
......@@ -200,6 +200,11 @@ gst_vaapisink_iface_init(GType type)
static void
gst_vaapisink_destroy(GstVaapiSink *sink)
if (sink->texture) {
sink->texture = NULL;
if (sink->display) {
sink->display = NULL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment