Commit 8790961d authored by Jai Menon's avatar Jai Menon Committed by Ramiro Polla

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
parent d7a4961e
......@@ -293,5 +293,5 @@ AVCodecParser mlp_parser = {
sizeof(MLPParseContext),
mlp_init,
mlp_parse,
NULL,
ff_parse_close,
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment