mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
avutil/hmac: use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6d639ecf44
commit
05e74ac2f3
@ -127,7 +127,7 @@ void av_hmac_free(AVHMAC *c)
|
||||
{
|
||||
if (!c)
|
||||
return;
|
||||
av_free(c->hash);
|
||||
av_freep(&c->hash);
|
||||
av_free(c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user