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:
Sven Baars 2018-12-23 16:47:02 +01:00 committed by Alexandre Julliard
parent 8868cff257
commit f3c8eb386f
1 changed files with 1 additions and 0 deletions

View File

@ -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);