mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
glcolorconvert: fix memleak
https://bugzilla.gnome.org/show_bug.cgi?id=741943
This commit is contained in:
parent
3c6d775766
commit
442451a30d
1 changed files with 3 additions and 1 deletions
|
@ -676,8 +676,10 @@ _RGB_pixel_order (const gchar * expected, const gchar * wanted)
|
||||||
gchar *expect, *want;
|
gchar *expect, *want;
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
if (g_ascii_strcasecmp (expected, wanted) == 0)
|
if (g_ascii_strcasecmp (expected, wanted) == 0) {
|
||||||
|
g_string_free (ret, TRUE);
|
||||||
return g_ascii_strdown (expected, -1);
|
return g_ascii_strdown (expected, -1);
|
||||||
|
}
|
||||||
|
|
||||||
expect = g_ascii_strdown (expected, -1);
|
expect = g_ascii_strdown (expected, -1);
|
||||||
want = g_ascii_strdown (wanted, -1);
|
want = g_ascii_strdown (wanted, -1);
|
||||||
|
|
Loading…
Reference in a new issue