mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/eatqi: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
20df02680c
commit
28b829b8bb
@ -149,7 +149,7 @@ static int tqi_decode_frame(AVCodecContext *avctx,
|
||||
static av_cold int tqi_decode_end(AVCodecContext *avctx)
|
||||
{
|
||||
TqiContext *t = avctx->priv_data;
|
||||
av_free(t->bitstream_buf);
|
||||
av_freep(&t->bitstream_buf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user