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
|
@ -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 New Issue