Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-07-30 05:56:22 +0300
committerJames Almer <jamrial@gmail.com>2015-07-30 05:56:22 +0300
commit6ce3d9fc4a70958680b93c6995cc87f34630a7e3 (patch)
tree39ad2b57a05d0cde067f3d946cc6d3cda2d6576c /libavformat/rtmpproto.c
parent222d7619cea3b1a6f70eaa56043d3d87cb5870a0 (diff)
avformat/rtmpproto: free hmac context properly
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index d6c772c373..51d9ac601c 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -971,7 +971,7 @@ int ff_rtmp_calc_digest(const uint8_t *src, int len, int gap,
}
av_hmac_final(hmac, dst, 32);
- av_free(hmac);
+ av_hmac_free(hmac);
return 0;
}