summaryrefslogtreecommitdiff
path: root/libavutil/hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/hmac.c')
-rw-r--r--libavutil/hmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hmac.c b/libavutil/hmac.c
index 02bdc182a1..300436cb07 100644
--- a/libavutil/hmac.c
+++ b/libavutil/hmac.c
@@ -127,7 +127,7 @@ void av_hmac_free(AVHMAC *c)
{
if (!c)
return;
- av_free(c->hash);
+ av_freep(&c->hash);
av_free(c);
}