[FFmpeg-cvslog] rtmpproto: free hmac context properly

James Almer git at videolan.org
Thu Jul 30 12:24:00 CEST 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Jul 30 00:00:01 2015 -0300| [9487ffd4c02b9e261562d43735490068c0df0d4b] | committer: Martin Storsjö

rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9487ffd4c02b9e261562d43735490068c0df0d4b
---

 libavformat/rtmpproto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 1db7495..ec4b0e7 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;
 }



More information about the ffmpeg-cvslog mailing list