Lionel Debroux : localspl/tests: Fix memory leak (found by Smatch).
Alexandre Julliard
julliard at winehq.org
Mon Oct 22 09:55:37 CDT 2007
Module: wine
Branch: master
Commit: 1a8001af5b6388c62b5d64cc35e35028ecb72491
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1a8001af5b6388c62b5d64cc35e35028ecb72491
Author: Lionel Debroux <lionel_debroux at yahoo.fr>
Date: Sat Oct 20 21:33:12 2007 +0200
localspl/tests: Fix memory leak (found by Smatch).
---
dlls/localspl/tests/localmon.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/localspl/tests/localmon.c b/dlls/localspl/tests/localmon.c
index 06cdfbe..3126731 100644
--- a/dlls/localspl/tests/localmon.c
+++ b/dlls/localspl/tests/localmon.c
@@ -166,6 +166,7 @@ static void find_installed_ports(void)
if (!res) {
skip("no ports found\n");
+ HeapFree(GetProcessHeap(), 0, pi);
return;
}
More information about the wine-cvs
mailing list