Dan Kegel : ntdll: Fix leak in test_symlinks.
Alexandre Julliard
julliard at winehq.org
Mon Feb 15 10:06:11 CST 2010
Module: wine
Branch: master
Commit: 1aa3308fa5516b584c641f58ea2562ce23cd649b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1aa3308fa5516b584c641f58ea2562ce23cd649b
Author: Dan Kegel <dank at kegel.com>
Date: Sat Feb 13 08:30:29 2010 -0800
ntdll: Fix leak in test_symlinks.
---
dlls/ntdll/tests/reg.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c
index a4802c8..48de5a5 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)
More information about the wine-cvs
mailing list