diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-10-20 09:02:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-10-20 09:02:55 +0000 |
commit | c8714ea1b39ed25c61f91cbae6930defc3682cc9 (patch) | |
tree | b795356c1364e72134c6d9a72dbe4f0dde4833bf | |
parent | 772581680ce4f1804c18916a636005713c612093 (diff) | |
download | ffmpeg-c8714ea1b39ed25c61f91cbae6930defc3682cc9.tar.gz |
Use av_freep() in ff_parse_close().
Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 7262b92878..460693f2dd 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -291,7 +291,7 @@ void ff_parse_close(AVCodecParserContext *s) { ParseContext *pc = s->priv_data; - av_free(pc->buffer); + av_freep(&pc->buffer); } void ff_parse1_close(AVCodecParserContext *s) |