diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-10-09 12:21:14 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-10-09 12:54:45 +0000 |
commit | 19fda0a1bcb1fe5668e67055a891bb9b836cbe1b (patch) | |
tree | 0b090e3b94eb3f62b894efb11cacabcd3a08a837 /libavcodec/vmnc.c | |
parent | 31d0d355608fc9dfaed55b7541f16cd105fb3995 (diff) | |
download | ffmpeg-19fda0a1bcb1fe5668e67055a891bb9b836cbe1b.tar.gz |
avcodec/vmnc: use av_freep()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/vmnc.c')
-rw-r--r-- | libavcodec/vmnc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index 787c381699..f42be7ffe0 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -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; } |