mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02: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);
|
av_frame_unref(&s->frame);
|
||||||
|
|
||||||
/* free the tmpblock */
|
/* free the tmpblock */
|
||||||
av_free(s->tmpblock);
|
av_freep(&s->tmpblock);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user