avutil/aes_crt: free AVAESCTR struct properly

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2016-02-03 19:25:45 -03:00
parent c4ef6c883b
commit 0711c5bfb8

View 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);
}
}