mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wsdapi/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8868cff257
commit
f3c8eb386f
1 changed files with 1 additions and 0 deletions
|
@ -604,6 +604,7 @@ static void XMLContext_AddNameToNamespace_tests(void)
|
|||
/* Apparently wsdapi always leaves the namespace names array as empty */
|
||||
ok(ns2->Names == NULL, "Names array is not empty\n");
|
||||
ok(ns2->NamesCount == 0, "NamesCount is not 0 (value = %d)\n", ns2->NamesCount);
|
||||
WSDFreeLinkedMemory(ns2);
|
||||
}
|
||||
|
||||
IWSDXMLContext_Release(context);
|
||||
|
|
Loading…
Reference in a new issue