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:
11dc06f
)
video-converter: free dither_lines
author
Thiago Santos
<thiagoss@osg.samsung.com>
Sat, 6 Dec 2014 01:09:45 +0000
(22:09 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Sat, 6 Dec 2014 01:23:55 +0000
(22:23 -0300)
Avoid a memory leak
gst-libs/gst/video/video-converter.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/video/video-converter.c
b/gst-libs/gst/video/video-converter.c
index
019591f
..
4350874
100644
(file)
--- a/
gst-libs/gst/video/video-converter.c
+++ b/
gst-libs/gst/video/video-converter.c
@@
-1803,6
+1803,8
@@
gst_video_converter_free (GstVideoConverter * convert)
gst_line_cache_free (convert->to_YUV_lines);
if (convert->downsample_lines)
gst_line_cache_free (convert->downsample_lines);
+ if (convert->dither_lines)
+ gst_line_cache_free (convert->dither_lines);
if (convert->dither)
gst_video_dither_free (convert->dither);