From 82f5c4d737ca6ca5c4b956a048f3b59575db9bc2 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 5 Nov 2013 12:56:59 +0000 Subject: [PATCH] avcodec/flashsv: use av_freep() for tmpblock Signed-off-by: Paul B Mahol --- libavcodec/flashsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index ee330608f2..6527dac3ed 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -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; }