From 6dd046a61d242f3b5f7863bbc56257a634a2d782 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Tue, 11 Dec 2007 15:37:42 +1100 Subject: [PATCH] shlwapi: Fix memory leak in test. --- dlls/shlwapi/tests/string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shlwapi/tests/string.c b/dlls/shlwapi/tests/string.c index 895d767611c..b90dcc630cc 100644 --- a/dlls/shlwapi/tests/string.c +++ b/dlls/shlwapi/tests/string.c @@ -483,6 +483,7 @@ static void test_StrDupA(void) */ lpszStr = StrDupA(NULL); ok(lpszStr == NULL || *lpszStr == '\0', "NULL string returned %p\n", lpszStr); + LocalFree((HLOCAL)lpszStr); } static void test_StrFormatByteSize64A(void)