avutil/aes_crt: free AVAESCTR struct properly
authorJames Almer <jamrial@gmail.com>
Wed, 3 Feb 2016 22:25:45 +0000 (19:25 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 3 Feb 2016 22:33:23 +0000 (19:33 -0300)
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavutil/aes_ctr.c

index 2343543..e9c568f 100644 (file)
@@ -79,7 +79,7 @@ void av_aes_ctr_free(struct AVAESCTR *a)
 {
     if (a) {
         av_freep(&a->aes);
-        av_freep(a);
+        av_free(a);
     }
 }