rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
James Almer 2015-07-30 00:00:01 -03:00 committed by Martin Storsjö
parent 65dd6a1f84
commit 9487ffd4c0

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