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:
parent
c4ef6c883b
commit
0711c5bfb8
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user