diff options
author | James Almer <jamrial@gmail.com> | 2015-07-30 00:00:01 -0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2015-07-30 09:26:49 +0300 |
commit | 9487ffd4c02b9e261562d43735490068c0df0d4b (patch) | |
tree | f00f4a1656fd208450cb9b5ed942027c0865ce6c /libavformat/rtmpproto.c | |
parent | 65dd6a1f84cc5c9a91d279e8e8b72ff7adf58d31 (diff) | |
download | ffmpeg-9487ffd4c02b9e261562d43735490068c0df0d4b.tar.gz |
rtmpproto: free hmac context properly
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/rtmpproto.c')
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |