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:
parent
65dd6a1f84
commit
9487ffd4c0
@ -971,7 +971,7 @@ int ff_rtmp_calc_digest(const uint8_t *src, int len, int gap,
|
|||||||
}
|
}
|
||||||
av_hmac_final(hmac, dst, 32);
|
av_hmac_final(hmac, dst, 32);
|
||||||
|
|
||||||
av_free(hmac);
|
av_hmac_free(hmac);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user