glcolorconvert: free pixel swizzling information
authorMatthew Waters <ystreet00@gmail.com>
Thu, 26 Jun 2014 01:25:37 +0000 (11:25 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:44 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglcolorconvert.c

index 54d8ef7..e056523 100644 (file)
@@ -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 */