changeset 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 444b3a297ca5
children e9163a5b650f
files mlp_parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,
 };