Commit 9487ffd4 authored by James Almer's avatar James Almer Committed by Martin Storsjö

rtmpproto: free hmac context properly

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 65dd6a1f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment