summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-11-05 12:56:59 +0000
committerPaul B Mahol <onemda@gmail.com>2013-11-05 13:19:30 +0000
commit82f5c4d737ca6ca5c4b956a048f3b59575db9bc2 (patch)
treec0d0cc1b755faad0207583e0be6b73f1d83cbc76 /libavcodec/flashsv.c
parentb79f543c58691d21e9b5ec45be55d38b5e2e0c8d (diff)
downloadffmpeg-82f5c4d737ca6ca5c4b956a048f3b59575db9bc2.tar.gz
avcodec/flashsv: use av_freep() for tmpblock
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c2
1 files changed, 1 insertions, 1 deletions
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;
}