diff options
author | Jai Menon <realityman@gmx.net> | 2010-02-23 16:54:05 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-02-23 16:54:05 +0000 |
commit | 8790961d7eda786f624317312c6ecc51945865e3 (patch) | |
tree | 8b2f5ca12b133c3c041f959d5d84d64600a6a6a9 /libavcodec/mlp_parser.c | |
parent | d7a4961e5353ff983bd7b53acf56ab8076dfaeba (diff) | |
download | ffmpeg-8790961d7eda786f624317312c6ecc51945865e3.tar.gz |
mlp_parser: Fix memleak.
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
Diffstat (limited to 'libavcodec/mlp_parser.c')
-rw-r--r-- | libavcodec/mlp_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 65f5dc5178..716e9e9b2a 100644 --- 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, }; |