summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-07-29 23:56:22 -0300
committerJames Almer <jamrial@gmail.com>2015-07-29 23:56:22 -0300
commit6ce3d9fc4a70958680b93c6995cc87f34630a7e3 (patch)
tree39ad2b57a05d0cde067f3d946cc6d3cda2d6576c
parent222d7619cea3b1a6f70eaa56043d3d87cb5870a0 (diff)
downloadffmpeg-streaming-6ce3d9fc4a70958680b93c6995cc87f34630a7e3.zip
ffmpeg-streaming-6ce3d9fc4a70958680b93c6995cc87f34630a7e3.tar.gz
avformat/rtmpproto: free hmac context properly
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud