mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 11:22:14 +00:00
avcodec/flashsv: use av_freep() for tmpblock
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
b79f543c58
commit
82f5c4d737
@ -482,7 +482,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx)
|
||||
av_frame_unref(&s->frame);
|
||||
|
||||
/* free the tmpblock */
|
||||
av_free(s->tmpblock);
|
||||
av_freep(&s->tmpblock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user