Commit fd367668 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/flac_parser: use av_freep(), do not leave stale pointers in memory

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5ee6fb75
......@@ -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 = {
......
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