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

James Almer jamrial at gmail.com
Wed Feb 3 23:26:32 CET 2016


Signed-off-by: James Almer <jamrial at gmail.com>
---
 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);
     }
 }
 
-- 
2.7.0



More information about the ffmpeg-devel mailing list