diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c index 7b5d6af8156..b7b9f9d23f9 100644 --- a/dlls/secur32/dispatcher.c +++ b/dlls/secur32/dispatcher.c @@ -257,7 +257,6 @@ void cleanup_helper(PNegoHelper 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); diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index 6c340d2cbb5..8f124d75621 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -1373,7 +1373,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_FreeCredentialsHandle( PNegoHelper helper = (PNegoHelper) phCredential->dwLower; phCredential->dwUpper = 0; phCredential->dwLower = 0; - HeapFree(GetProcessHeap(), 0, helper->session_key); cleanup_helper(helper); ret = SEC_E_OK; }