Lionel Debroux : advapi32/tests: Fix memory leak (found by Smatch).
Alexandre Julliard
julliard at winehq.org
Mon Oct 22 09:55:36 CDT 2007
Module: wine
Branch: master
Commit: 5c1334e775a1cb86b0df369ff8cdad0c3527f1bd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5c1334e775a1cb86b0df369ff8cdad0c3527f1bd
Author: Lionel Debroux <lionel_debroux at yahoo.fr>
Date: Sat Oct 20 21:17:17 2007 +0200
advapi32/tests: Fix memory leak (found by Smatch).
---
dlls/advapi32/tests/service.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c
index e932c64..4b7bd31 100644
--- a/dlls/advapi32/tests/service.c
+++ b/dlls/advapi32/tests/service.c
@@ -840,6 +840,7 @@ static void test_sequence(void)
Sleep(1000);
CloseServiceHandle(scm_handle);
+ HeapFree(GetProcessHeap(), 0, config);
}
static void test_refcount(void)
More information about the wine-cvs
mailing list