aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vmnc.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-10-09 12:21:14 +0000
committerPaul B Mahol <onemda@gmail.com>2013-10-09 12:54:45 +0000
commit19fda0a1bcb1fe5668e67055a891bb9b836cbe1b (patch)
tree0b090e3b94eb3f62b894efb11cacabcd3a08a837 /libavcodec/vmnc.c
parent31d0d355608fc9dfaed55b7541f16cd105fb3995 (diff)
downloadffmpeg-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.c6
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;
}