From 5c07218bd2a27319b53951f548d49cfa85d13bab Mon Sep 17 00:00:00 2001 From: Lubosz Sarnecki Date: Tue, 21 Apr 2015 07:28:58 +0200 Subject: 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 f9273c71e..4175c39e3 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 -- cgit v1.2.1