Commit f3c8eb38 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

wsdapi/tests: Fix a memory leak (Valgrind).

parent 8868cff2
...@@ -604,6 +604,7 @@ static void XMLContext_AddNameToNamespace_tests(void) ...@@ -604,6 +604,7 @@ static void XMLContext_AddNameToNamespace_tests(void)
/* Apparently wsdapi always leaves the namespace names array as empty */ /* Apparently wsdapi always leaves the namespace names array as empty */
ok(ns2->Names == NULL, "Names array is not empty\n"); ok(ns2->Names == NULL, "Names array is not empty\n");
ok(ns2->NamesCount == 0, "NamesCount is not 0 (value = %d)\n", ns2->NamesCount); ok(ns2->NamesCount == 0, "NamesCount is not 0 (value = %d)\n", ns2->NamesCount);
WSDFreeLinkedMemory(ns2);
} }
IWSDXMLContext_Release(context); IWSDXMLContext_Release(context);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment