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
ba9ccc51
Commit
ba9ccc51
authored
Dec 03, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wintrust: Fix memory leaks in tests.
parent
a191184a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
softpub.c
dlls/wintrust/tests/softpub.c
+7
-0
No files found.
dlls/wintrust/tests/softpub.c
View file @
ba9ccc51
...
...
@@ -179,8 +179,12 @@ static void test_utils(SAFE_PROVIDER_FUNCTIONS *funcs)
ok
(
data
.
pasSigners
[
0
].
pasCertChain
!=
NULL
,
"Expected pasCertChain to be allocated
\n
"
);
if
(
data
.
pasSigners
[
0
].
pasCertChain
)
{
ok
(
data
.
pasSigners
[
0
].
pasCertChain
[
0
].
pCert
==
cert
,
"Unexpected cert
\n
"
);
CertFreeCertificateContext
(
data
.
pasSigners
[
0
].
pasCertChain
[
0
].
pCert
);
}
CertFreeCertificateContext
(
cert
);
}
else
...
...
@@ -433,6 +437,9 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
(
CERT_CONFIDENCE_SIG
|
CERT_CONFIDENCE_TIMENEST
),
"Expected CERT_CONFIDENCE_SIG | CERT_CONFIDENCE_TIMENEST, got %08x
\n
"
,
data
.
pasSigners
[
0
].
pasCertChain
[
0
].
dwConfidence
);
CertFreeCertificateContext
(
data
.
pasSigners
[
0
].
pasCertChain
[
0
].
pCert
);
CertFreeCertificateChain
(
data
.
pasSigners
[
0
].
pChainContext
);
CertFreeCertificateContext
(
cert
);
}
}
...
...
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