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

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Feb 3 23:29:47 CET 2016


On 03.02.2016 23:26, James Almer wrote:
> 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);
>      }
>  }
>  
> 

Sure.

Best regards,
Andreas


More information about the ffmpeg-devel mailing list