From 6ce3d9fc4a70958680b93c6995cc87f34630a7e3 Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 29 Jul 2015 23:56:22 -0300 Subject: avformat/rtmpproto: free hmac context properly Signed-off-by: James Almer --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index d6c772c..51d9ac6 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; } -- cgit v1.1