diff mlp_parser.c @ 11266:7de903afbd92 libavcodec

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.
author ramiro
date Tue, 23 Feb 2010 16:54:05 +0000
parents dfa02260a864
children 7dd2a45249a9
line wrap: on
line diff
--- a/mlp_parser.c	Tue Feb 23 16:12:30 2010 +0000
+++ b/mlp_parser.c	Tue Feb 23 16:54:05 2010 +0000
@@ -293,5 +293,5 @@
     sizeof(MLPParseContext),
     mlp_init,
     mlp_parse,
-    NULL,
+    ff_parse_close,
 };