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
dec7dda4
Commit
dec7dda4
authored
Dec 11, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Dec 11, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32/tests: Fix memory leaks in tests.
parent
04a21024
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
crypt.c
dlls/advapi32/tests/crypt.c
+3
-0
No files found.
dlls/advapi32/tests/crypt.c
View file @
dec7dda4
...
...
@@ -234,6 +234,7 @@ static void test_incorrect_api_usage(void)
result
=
pCryptCreateHash
(
hProv
,
CALG_SHA
,
0
,
0
,
&
hHash
);
ok
(
result
,
"%d
\n
"
,
GetLastError
());
if
(
!
result
)
return
;
pCryptDestroyHash
(
hHash
);
result
=
pCryptGenKey
(
hProv
,
CALG_RC4
,
0
,
&
hKey
);
ok
(
result
,
"%d
\n
"
,
GetLastError
());
...
...
@@ -557,6 +558,7 @@ static void test_enum_providers(void)
ok
(
!
strcmp
(
pszProvName
,
provider
),
"expected %s, got %s
\n
"
,
pszProvName
,
provider
);
ok
(
cbName
==
providerLen
,
"expected %d, got %d
\n
"
,
cbName
,
providerLen
);
LocalFree
(
pszProvName
);
LocalFree
(
provider
);
}
...
...
@@ -844,6 +846,7 @@ static void test_get_default_provider(void)
ok
(
!
strcmp
(
pszProvName
,
provName
),
"expected %s, got %s
\n
"
,
pszProvName
,
provName
);
ok
(
provNameSize
==
cbProvName
,
"expected %d, got %d
\n
"
,
cbProvName
,
provNameSize
);
LocalFree
(
pszProvName
);
LocalFree
(
provName
);
}
...
...
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