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

James Almer jamrial at gmail.com
Wed Feb 3 23:35:06 CET 2016


On 2/3/2016 7:29 PM, Andreas Cadhalpun wrote:
> 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

Pushed, thanks.



More information about the ffmpeg-devel mailing list