changeset 8040:def5fcc1d40e libavcodec

Use av_freep() in ff_parse_close().
author michael
date Mon, 20 Oct 2008 09:02:55 +0000
parents d17ee125add1
children 24761747ac3d
files parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/parser.c	Mon Oct 20 07:35:17 2008 +0000
+++ b/parser.c	Mon Oct 20 09:02:55 2008 +0000
@@ -291,7 +291,7 @@
 {
     ParseContext *pc = s->priv_data;
 
-    av_free(pc->buffer);
+    av_freep(&pc->buffer);
 }
 
 void ff_parse1_close(AVCodecParserContext *s)