[FFmpeg-cvslog] avcodec/vmnc: use av_freep()
Paul B Mahol
git at videolan.org
Wed Oct 9 14:55:40 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Oct 9 12:21:14 2013 +0000| [19fda0a1bcb1fe5668e67055a891bb9b836cbe1b] | committer: Paul B Mahol
avcodec/vmnc: use av_freep()
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19fda0a1bcb1fe5668e67055a891bb9b836cbe1b
---
libavcodec/vmnc.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c
index 787c381..f42be7f 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;
}
More information about the ffmpeg-cvslog
mailing list