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:
5b90c31
)
colorspace: Fix memleak
author
David Schleef
<ds@schleef.org>
Sat, 19 Feb 2011 21:13:13 +0000
(13:13 -0800)
committer
David Schleef
<ds@schleef.org>
Sun, 20 Feb 2011 20:17:59 +0000
(12:17 -0800)
gst/colorspace/gstcolorspace.c
patch
|
blob
|
history
diff --git
a/gst/colorspace/gstcolorspace.c
b/gst/colorspace/gstcolorspace.c
index
8a823fa
..
508fb8a
100644
(file)
--- a/
gst/colorspace/gstcolorspace.c
+++ b/
gst/colorspace/gstcolorspace.c
@@
-229,6
+229,10
@@
gst_csp_set_caps (GstBaseTransform * btrans, GstCaps * incaps,
space = GST_CSP (btrans);
+ if (space->convert) {
+ colorspace_convert_free (space->convert);
+ }
+
/* input caps */
ret = gst_video_format_parse_caps (incaps, &in_format, &in_width, &in_height);