Zebediah Figura : ntdll/tests: Fix a memory leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Thu Dec 13 15:45:04 CST 2018
Module: wine
Branch: master
Commit: 1344dcee39315f4f057d53276e5c3d97a5709655
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1344dcee39315f4f057d53276e5c3d97a5709655
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Wed Dec 12 21:32:43 2018 -0600
ntdll/tests: Fix a memory leak (Valgrind).
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/tests/path.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ntdll/tests/path.c b/dlls/ntdll/tests/path.c
index 722ca99..c8a5951 100644
--- a/dlls/ntdll/tests/path.c
+++ b/dlls/ntdll/tests/path.c
@@ -517,6 +517,7 @@ static void test_RtlDosPathNameToNtPathName_U(void)
if (pRtlDosPathNameToNtPathName_U_WithStatus)
{
+ RtlFreeUnicodeString(&nameW);
status = pRtlDosPathNameToNtPathName_U_WithStatus(path, &nameW, &file_part, NULL);
ok(status == tests[i].status || status == tests[i].alt_status,
"%s: Expected status %#x, got %#x.\n", tests[i].dos, tests[i].status, status);
More information about the wine-cvs
mailing list