1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-10-04 17:44:49 +02:00

Use av_freep() in ff_parse_close().

Originally committed as revision 15654 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-10-20 09:02:55 +00:00
parent 772581680c
commit c8714ea1b3

View File

@ -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)