glcolorconvert: free pixel swizzling information

This commit is contained in:
Matthew Waters 2014-06-26 11:25:37 +10:00 committed by Tim-Philipp Müller
parent 251c8a98ed
commit 216b5ec9a8

View file

@ -680,6 +680,7 @@ _RGB_to_RGB (GstGLColorConvert * convert)
info->shader_tex_names[0] = "tex"; info->shader_tex_names[0] = "tex";
g_free (alpha); g_free (alpha);
g_free (pixel_order);
} }
static void static void
@ -874,6 +875,7 @@ _RGB_to_GRAY (GstGLColorConvert * convert)
} }
g_free (alpha); g_free (alpha);
g_free (pixel_order);
} }
static void static void
@ -913,6 +915,8 @@ _GRAY_to_RGB (GstGLColorConvert * convert)
default: default:
break; break;
} }
g_free (pixel_order);
} }
/* Called in the gl thread */ /* Called in the gl thread */