mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
avcodec/flashsv: use av_freep() for tmpblock
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user