avcodec/flashsv: use av_freep() for tmpblock

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-11-05 12:56:59 +00:00
parent b79f543c58
commit 82f5c4d737

View File

@ -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;
}