Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
13468346
Commit
13468346
authored
Dec 29, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Dec 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Fix memory leaks in ntlm_InitializeSecurityContextW.
parent
693433a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ntlm.c
dlls/secur32/ntlm.c
+4
-0
No files found.
dlls/secur32/ntlm.c
View file @
13468346
...
...
@@ -549,6 +549,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
goto
isc_end
;
}
username
=
ntlm_GetUsernameArg
(
ui
->
wkui1_username
,
-
1
);
NetApiBufferFree
(
ui
);
TRACE
(
"using cached credentials
\n
"
);
...
...
@@ -820,6 +821,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
ret
=
SEC_E_BUFFER_TOO_SMALL
;
if
((
phContext
==
NULL
)
&&
(
pInput
==
NULL
))
{
HeapFree
(
GetProcessHeap
(),
0
,
helper
->
session_key
);
cleanup_helper
(
helper
);
phNewContext
->
dwUpper
=
0
;
phNewContext
->
dwLower
=
0
;
...
...
@@ -838,6 +840,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
ret
=
SEC_E_BUFFER_TOO_SMALL
;
if
((
phContext
==
NULL
)
&&
(
pInput
==
NULL
))
{
HeapFree
(
GetProcessHeap
(),
0
,
helper
->
session_key
);
cleanup_helper
(
helper
);
phNewContext
->
dwUpper
=
0
;
phNewContext
->
dwLower
=
0
;
...
...
@@ -851,6 +854,7 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
ret
=
SEC_E_INTERNAL_ERROR
;
if
((
phContext
==
NULL
)
&&
(
pInput
==
NULL
))
{
HeapFree
(
GetProcessHeap
(),
0
,
helper
->
session_key
);
cleanup_helper
(
helper
);
phNewContext
->
dwUpper
=
0
;
phNewContext
->
dwLower
=
0
;
...
...
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