On Fri May 2 10:17:28 2025 +0000, Piotr Caban wrote:
Yes, but it's uncommon to require calling cleanup function when initialization fails.
Initialization of the context takes multiple steps. ntlm_chat() can also fail and leave a buffer behind. I'm not sure if it's better to rely on individual steps to clean up after themselves instead of having a catch-all here.