From 216b5ec9a8c45316c3ba370a642e30af9f15ecde Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 26 Jun 2014 11:25:37 +1000 Subject: [PATCH] glcolorconvert: free pixel swizzling information --- gst-libs/gst/gl/gstglcolorconvert.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index 54d8ef7..e056523 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -680,6 +680,7 @@ _RGB_to_RGB (GstGLColorConvert * convert) info->shader_tex_names[0] = "tex"; g_free (alpha); + g_free (pixel_order); } static void @@ -874,6 +875,7 @@ _RGB_to_GRAY (GstGLColorConvert * convert) } g_free (alpha); + g_free (pixel_order); } static void @@ -913,6 +915,8 @@ _GRAY_to_RGB (GstGLColorConvert * convert) default: break; } + + g_free (pixel_order); } /* Called in the gl thread */ -- 2.7.4