Commit 6dd046a6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

shlwapi: Fix memory leak in test.

parent 69805b12
...@@ -483,6 +483,7 @@ static void test_StrDupA(void) ...@@ -483,6 +483,7 @@ static void test_StrDupA(void)
*/ */
lpszStr = StrDupA(NULL); lpszStr = StrDupA(NULL);
ok(lpszStr == NULL || *lpszStr == '\0', "NULL string returned %p\n", lpszStr); ok(lpszStr == NULL || *lpszStr == '\0', "NULL string returned %p\n", lpszStr);
LocalFree((HLOCAL)lpszStr);
} }
static void test_StrFormatByteSize64A(void) static void test_StrFormatByteSize64A(void)
......
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