1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avformat/rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2015-07-29 23:56:22 -03:00
parent 222d7619ce
commit 6ce3d9fc4a

View File

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