mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/flac_parser: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5ee6fb7583
commit
fd367668e1
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user