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
06abaaf2
Commit
06abaaf2
authored
Jun 03, 2008
by
Dan Kegel
Committed by
Alexandre Julliard
Jun 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32/tests: Don't free if not allocated.
parent
a8ad5cd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
main.c
dlls/secur32/tests/main.c
+5
-12
No files found.
dlls/secur32/tests/main.c
View file @
06abaaf2
...
...
@@ -210,13 +210,12 @@ static void testQuerySecurityPackageInfo(void)
/* there is no point in testing pkg_info->cbMaxToken since it varies
* between implementations.
*/
}
sec_status
=
pFreeContextBuffer
(
pkg_info
);
ok
(
sec_status
==
SEC_E_OK
,
"Return value of FreeContextBuffer() shouldn't be %s
\n
"
,
getSecError
(
sec_status
)
);
sec_status
=
pFreeContextBuffer
(
pkg_info
);
ok
(
sec_status
==
SEC_E_OK
,
"Return value of FreeContextBuffer() shouldn't be %s
\n
"
,
getSecError
(
sec_status
)
);
}
/* Test with a nonexistent package, test should fail */
...
...
@@ -228,12 +227,6 @@ static void testQuerySecurityPackageInfo(void)
getSecError
(
SEC_E_SECPKG_NOT_FOUND
));
ok
(
pkg_info
==
(
void
*
)
0xdeadbeef
,
"wrong pkg_info address %p
\n
"
,
pkg_info
);
sec_status
=
pFreeContextBuffer
(
pkg_info
);
ok
(
sec_status
==
SEC_E_OK
,
"Return value of FreeContextBuffer() shouldn't be %s
\n
"
,
getSecError
(
sec_status
)
);
}
START_TEST
(
main
)
...
...
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