Commit 82f5c4d7 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/flashsv: use av_freep() for tmpblock

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent b79f543c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment