Commit 19fda0a1 authored by Paul B Mahol's avatar Paul B Mahol

avcodec/vmnc: use av_freep()

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 31d0d355
......@@ -517,9 +517,9 @@ static av_cold int decode_end(AVCodecContext *avctx)
av_frame_free(&c->frame);
av_free(c->curbits);
av_free(c->curmask);
av_free(c->screendta);
av_freep(&c->curbits);
av_freep(&c->curmask);
av_freep(&c->screendta);
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