projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7a4961
)
mlp_parser: Fix memleak.
author
Jai Menon
<realityman@gmx.net>
Tue, 23 Feb 2010 16:54:05 +0000
(16:54 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Tue, 23 Feb 2010 16:54:05 +0000
(16:54 +0000)
ff_combine_frame() is called, which allocates ParseContext->buffer if needed,
so ff_parse_close() must be called to free it.
Patch by jai.
Originally committed as revision 22005 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mlp_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/mlp_parser.c
b/libavcodec/mlp_parser.c
index
65f5dc5
..
716e9e9
100644
(file)
--- a/
libavcodec/mlp_parser.c
+++ b/
libavcodec/mlp_parser.c
@@
-293,5
+293,5
@@
AVCodecParser mlp_parser = {
sizeof(MLPParseContext),
mlp_init,
mlp_parse,
-
NULL
,
+
ff_parse_close
,
};