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
226519ef
Commit
226519ef
authored
Oct 15, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Don't try to cleanup uninitialized handles in SECUR32_deinitSchannelSP().
parent
5b479042
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
schannel.c
dlls/secur32/schannel.c
+4
-4
No files found.
dlls/secur32/schannel.c
View file @
226519ef
...
@@ -1415,13 +1415,13 @@ fail:
...
@@ -1415,13 +1415,13 @@ fail:
void
SECUR32_deinitSchannelSP
(
void
)
void
SECUR32_deinitSchannelSP
(
void
)
{
{
int
i
=
schan_handle_table_size
;
SIZE_T
i
=
schan_handle_count
;
if
(
!
libgnutls_handle
)
return
;
if
(
!
libgnutls_handle
)
return
;
/* deinitialized sessions first because a pointer to the credentials
/* deinitialized sessions first because a pointer to the credentials
* are stored for the session by calling gnutls_credentials_set. */
* are stored for the session by calling gnutls_credentials_set. */
while
(
--
i
)
while
(
i
--
)
{
{
if
(
schan_handle_table
[
i
].
type
==
SCHAN_HANDLE_CTX
)
if
(
schan_handle_table
[
i
].
type
==
SCHAN_HANDLE_CTX
)
{
{
...
@@ -1430,8 +1430,8 @@ void SECUR32_deinitSchannelSP(void)
...
@@ -1430,8 +1430,8 @@ void SECUR32_deinitSchannelSP(void)
HeapFree
(
GetProcessHeap
(),
0
,
ctx
);
HeapFree
(
GetProcessHeap
(),
0
,
ctx
);
}
}
}
}
i
=
schan_handle_
table_size
;
i
=
schan_handle_
count
;
while
(
--
i
)
while
(
i
--
)
{
{
if
(
schan_handle_table
[
i
].
type
!=
SCHAN_HANDLE_FREE
)
if
(
schan_handle_table
[
i
].
type
!=
SCHAN_HANDLE_FREE
)
{
{
...
...
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