Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0c3f45ed
Commit
0c3f45ed
authored
Nov 04, 2006
by
Kai Blin
Committed by
Alexandre Julliard
Nov 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Avoid double HeapFree() of password and session key.
parent
1ef0d0a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
dispatcher.c
dlls/secur32/dispatcher.c
+0
-1
ntlm.c
dlls/secur32/ntlm.c
+0
-1
No files found.
dlls/secur32/dispatcher.c
View file @
0c3f45ed
...
...
@@ -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
);
...
...
dlls/secur32/ntlm.c
View file @
0c3f45ed
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment