Commit c5aed167 authored by ramiro's avatar ramiro

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22005 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 62cdf5a5
...@@ -293,5 +293,5 @@ AVCodecParser mlp_parser = { ...@@ -293,5 +293,5 @@ AVCodecParser mlp_parser = {
sizeof(MLPParseContext), sizeof(MLPParseContext),
mlp_init, mlp_init,
mlp_parse, 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