Commit 0711c5bf authored by James Almer's avatar James Almer

avutil/aes_crt: free AVAESCTR struct properly

Reviewed-by: 's avatarAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent c4ef6c88
...@@ -79,7 +79,7 @@ void av_aes_ctr_free(struct AVAESCTR *a) ...@@ -79,7 +79,7 @@ void av_aes_ctr_free(struct AVAESCTR *a)
{ {
if (a) { if (a) {
av_freep(&a->aes); av_freep(&a->aes);
av_freep(a); av_free(a);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment