Kai Blin : secur32: Stop leaking the session key memory.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 16 13:53:32 CDT 2006
Module: wine
Branch: master
Commit: 306048bdeb6e38188e91ad3dbde81a37782dc271
URL: http://source.winehq.org/git/wine.git/?a=commit;h=306048bdeb6e38188e91ad3dbde81a37782dc271
Author: Kai Blin <kai.blin at gmail.com>
Date: Mon Oct 16 10:13:26 2006 +0200
secur32: Stop leaking the session key memory.
---
dlls/secur32/dispatcher.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/secur32/dispatcher.c b/dlls/secur32/dispatcher.c
index 27c1f9a..7b5d6af 100644
--- a/dlls/secur32/dispatcher.c
+++ b/dlls/secur32/dispatcher.c
@@ -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);
More information about the wine-cvs
mailing list