From 85d9185b0c3c4e05e5cfa099c461cbdd4ddc0e32 Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Tue, 21 Apr 2015 07:28:58 +0200 Subject: [PATCH] gltransformation: fix shader memory leak --- ext/gl/gstgltransformation.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c index f9273c7..4175c39 100644 --- a/ext/gl/gstgltransformation.c +++ b/ext/gl/gstgltransformation.c @@ -404,6 +404,8 @@ gst_gl_transformation_reset_gl (GstGLFilter * filter) gl->DeleteBuffers (1, &transformation->vertex_buffer); transformation->vertex_buffer = 0; } + + gst_object_unref (transformation->shader); } static void -- 2.7.4