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
1eca6344
Commit
1eca6344
authored
May 21, 2019
by
Gijs Vermeulen
Committed by
Alexandre Julliard
May 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32/tests: Fix some memory leaks (Valgrind).
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f96c2bd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cert.c
dlls/crypt32/tests/cert.c
+2
-0
No files found.
dlls/crypt32/tests/cert.c
View file @
1eca6344
...
@@ -1736,6 +1736,7 @@ static void testGetIssuerCert(void)
...
@@ -1736,6 +1736,7 @@ static void testGetIssuerCert(void)
CertFreeCertificateContext
(
child
);
CertFreeCertificateContext
(
child
);
CertFreeCertificateContext
(
cert1
);
CertFreeCertificateContext
(
cert1
);
CertFreeCertificateContext
(
cert2
);
CertFreeCertificateContext
(
cert2
);
CertFreeCertificateContext
(
cert3
);
CertCloseStore
(
store
,
0
);
CertCloseStore
(
store
,
0
);
HeapFree
(
GetProcessHeap
(),
0
,
certencoded
);
HeapFree
(
GetProcessHeap
(),
0
,
certencoded
);
...
@@ -1750,6 +1751,7 @@ static void testGetIssuerCert(void)
...
@@ -1750,6 +1751,7 @@ static void testGetIssuerCert(void)
ok
(
!
parent
,
"Expected NULL
\n
"
);
ok
(
!
parent
,
"Expected NULL
\n
"
);
ok
(
GetLastError
()
==
CRYPT_E_SELF_SIGNED
,
ok
(
GetLastError
()
==
CRYPT_E_SELF_SIGNED
,
"Expected CRYPT_E_SELF_SIGNED, got %08X
\n
"
,
GetLastError
());
"Expected CRYPT_E_SELF_SIGNED, got %08X
\n
"
,
GetLastError
());
CertFreeCertificateContext
(
cert1
);
CertCloseStore
(
store
,
0
);
CertCloseStore
(
store
,
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