From 9487ffd4c02b9e261562d43735490068c0df0d4b Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 30 Jul 2015 00:00:01 -0300 Subject: rtmpproto: free hmac context properly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: James Almer Signed-off-by: Martin Storsjö --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/rtmpproto.c') diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 1db7495bee..ec4b0e73f3 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.2.3