diff --git a/libavcodec/flac_parser.c b/libavcodec/flac_parser.c index a031dbfc62..0e45ab0fed 100644 --- a/libavcodec/flac_parser.c +++ b/libavcodec/flac_parser.c @@ -724,7 +724,7 @@ static void flac_parse_close(AVCodecParserContext *c) curr = temp; } av_fifo_freep(&fpc->fifo_buf); - av_free(fpc->wrap_buf); + av_freep(&fpc->wrap_buf); } AVCodecParser ff_flac_parser = {