From 8790961d7eda786f624317312c6ecc51945865e3 Mon Sep 17 00:00:00 2001 From: Jai Menon Date: Tue, 23 Feb 2010 16:54:05 +0000 Subject: 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 --- libavcodec/mlp_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/mlp_parser.c') 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, }; -- cgit v1.2.3