[FFmpeg-cvslog] avutil/aes_crt: free AVAESCTR struct properly

James Almer git at videolan.org
Wed Feb 3 23:34:59 CET 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Feb  3 19:25:45 2016 -0300| [0711c5bfb8b496f0e4054548ec6db97d13a1d6f5] | committer: James Almer

avutil/aes_crt: free AVAESCTR struct properly

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun at googlemail.com>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0711c5bfb8b496f0e4054548ec6db97d13a1d6f5
---

 libavutil/aes_ctr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/aes_ctr.c b/libavutil/aes_ctr.c
index 2343543..e9c568f 100644
--- a/libavutil/aes_ctr.c
+++ b/libavutil/aes_ctr.c
@@ -79,7 +79,7 @@ void av_aes_ctr_free(struct AVAESCTR *a)
 {
     if (a) {
         av_freep(&a->aes);
-        av_freep(a);
+        av_free(a);
     }
 }
 



More information about the ffmpeg-cvslog mailing list