Module: wine Branch: master Commit: f3c8eb386f536fbae21d2d658c065d8c89f71b31 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f3c8eb386f536fbae21d2d658...
Author: Sven Baars sven.wine@gmail.com Date: Sun Dec 23 16:47:02 2018 +0100
wsdapi/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars sven.wine@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wsdapi/tests/xml.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wsdapi/tests/xml.c b/dlls/wsdapi/tests/xml.c index 633124f..ab86d23 100644 --- a/dlls/wsdapi/tests/xml.c +++ b/dlls/wsdapi/tests/xml.c @@ -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);