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
45b6cf83
Commit
45b6cf83
authored
Oct 21, 2009
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 21, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhttp/tests: Free the certificate context after use.
Found by valgrind.
parent
6732d5df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Makefile.in
dlls/winhttp/tests/Makefile.in
+1
-1
winhttp.c
dlls/winhttp/tests/winhttp.c
+1
-0
No files found.
dlls/winhttp/tests/Makefile.in
View file @
45b6cf83
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
TESTDLL
=
winhttp.dll
IMPORTS
=
winhttp advapi32 kernel32
IMPORTS
=
winhttp
crypt32
advapi32 kernel32
CTESTS
=
\
notification.c
\
...
...
dlls/winhttp/tests/winhttp.c
View file @
45b6cf83
...
...
@@ -763,6 +763,7 @@ static void test_secure_connection(void)
size
=
sizeof
(
cert
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_SERVER_CERT_CONTEXT
,
&
cert
,
&
size
);
ok
(
ret
,
"failed to retrieve certificate context %u
\n
"
,
GetLastError
());
CertFreeCertificateContext
(
cert
);
size
=
sizeof
(
bitness
);
ret
=
WinHttpQueryOption
(
req
,
WINHTTP_OPTION_SECURITY_KEY_BITNESS
,
&
bitness
,
&
size
);
...
...
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