projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c6d775
)
glcolorconvert: fix memleak
author
Nicola Murino
<nicola.murino@gmail.com>
Thu, 25 Dec 2014 22:10:19 +0000
(23:10 +0100)
committer
Matthew Waters
<matthew@centricular.com>
Tue, 13 Jan 2015 04:20:34 +0000
(15:20 +1100)
https://bugzilla.gnome.org/show_bug.cgi?id=741943
gst-libs/gst/gl/gstglcolorconvert.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcolorconvert.c
b/gst-libs/gst/gl/gstglcolorconvert.c
index
3c8667f
..
cfc12ef
100644
(file)
--- a/
gst-libs/gst/gl/gstglcolorconvert.c
+++ b/
gst-libs/gst/gl/gstglcolorconvert.c
@@
-676,8
+676,10
@@
_RGB_pixel_order (const gchar * expected, const gchar * wanted)
gchar *expect, *want;
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);
+ }
expect = g_ascii_strdown (expected, -1);
want = g_ascii_strdown (wanted, -1);