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
9b1082ef
Commit
9b1082ef
authored
Oct 03, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Fix some memory leaks.
parent
3112a923
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
ntlm.c
dlls/secur32/ntlm.c
+12
-4
No files found.
dlls/secur32/ntlm.c
View file @
9b1082ef
...
...
@@ -457,7 +457,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
TRACE
(
"First time in ISC()
\n
"
);
if
(
!
phCredential
)
return
SEC_E_INVALID_HANDLE
;
{
ret
=
SEC_E_INVALID_HANDLE
;
goto
isc_end
;
}
/* As the server side of sspi never calls this, make sure that
* the handler is a client handler.
...
...
@@ -466,7 +469,8 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
if
(
ntlm_cred
->
mode
!=
NTLM_CLIENT
)
{
TRACE
(
"Cred mode = %d
\n
"
,
ntlm_cred
->
mode
);
return
SEC_E_INVALID_HANDLE
;
ret
=
SEC_E_INVALID_HANDLE
;
goto
isc_end
;
}
client_argv
[
0
]
=
ntlm_auth
;
...
...
@@ -657,7 +661,10 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
}
if
(
!
phContext
)
return
SEC_E_INVALID_HANDLE
;
{
ret
=
SEC_E_INVALID_HANDLE
;
goto
isc_end
;
}
/* As the server side of sspi never calls this, make sure that
* the handler is a client handler.
...
...
@@ -666,7 +673,8 @@ static SECURITY_STATUS SEC_ENTRY ntlm_InitializeSecurityContextW(
if
(
helper
->
mode
!=
NTLM_CLIENT
)
{
TRACE
(
"Helper mode = %d
\n
"
,
helper
->
mode
);
return
SEC_E_INVALID_HANDLE
;
ret
=
SEC_E_INVALID_HANDLE
;
goto
isc_end
;
}
if
(
!
pInput
->
pBuffers
[
input_token_idx
].
pvBuffer
)
...
...
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