ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Wed Jul 29 23:56:22 
2015 -0300| [6ce3d9fc4a70958680b93c6995cc87f34630a7e3] | committer: James Almer

avformat/rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamr...@gmail.com>

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

 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;
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to