avcodec/flashsv: use av_freep() for tmpblock

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/45/head
Paul B Mahol 11 years ago
parent b79f543c58
commit 82f5c4d737
  1. 2
      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;
}

Loading…
Cancel
Save