mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-30 23:10:32 +00:00
avcodec/eatgv: use av_freep(), do not leave stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
28b829b8bb
commit
acea53fea0
@ -349,8 +349,8 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx)
|
||||
TgvContext *s = avctx->priv_data;
|
||||
av_frame_free(&s->last_frame);
|
||||
av_freep(&s->frame_buffer);
|
||||
av_free(s->mv_codebook);
|
||||
av_free(s->block_codebook);
|
||||
av_freep(&s->mv_codebook);
|
||||
av_freep(&s->block_codebook);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user