diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-27 15:50:01 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-27 15:50:01 +0100 |
commit | 05e74ac2f3f3390952893b983939f026f7ab1cec (patch) | |
tree | f7dba9f77fae642e112bf15d611e142839e55500 /libavutil/hmac.c | |
parent | 6d639ecf44722019566bd84d43e4f30322e64b31 (diff) | |
download | ffmpeg-05e74ac2f3f3390952893b983939f026f7ab1cec.tar.gz |
avutil/hmac: use av_freep() to avoid leaving stale pointers in memory
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/hmac.c')
-rw-r--r-- | libavutil/hmac.c | 2 |
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); } |