Commit 306048bd authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

secur32: Stop leaking the session key memory.

parent a1498396
......@@ -256,9 +256,10 @@ void cleanup_helper(PNegoHelper helper)
TRACE("Killing helper %p\n", helper);
if( (helper == NULL) || (helper->helper_pid == 0))
return;
HeapFree(GetProcessHeap(), 0, helper->password);
HeapFree(GetProcessHeap(), 0, helper->com_buf);
HeapFree(GetProcessHeap(), 0, helper->session_key);
/* closing stdin will terminate ntlm_auth */
close(helper->pipe_out);
......
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