secur32: Stop leaking the session key memory.
This commit is contained in:
parent
a149839631
commit
306048bdeb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue