Commit 6ce3d9fc authored by James Almer's avatar James Almer

avformat/rtmpproto: free hmac context properly

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 222d7619
......@@ -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