Commit c8714ea1 authored by Michael Niedermayer's avatar Michael Niedermayer

Use av_freep() in ff_parse_close().

Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 77258168
......@@ -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)
......
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