diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c index a4802c825d2..48de5a59700 100644 --- a/dlls/ntdll/tests/reg.c +++ b/dlls/ntdll/tests/reg.c @@ -748,6 +748,8 @@ static void test_symlinks(void) status = pNtDeleteKey( root ); ok( status == STATUS_SUCCESS, "NtDeleteKey failed: 0x%08x\n", status ); pNtClose( root ); + + pRtlFreeHeap(GetProcessHeap(), 0, target); } START_TEST(reg)