localspl tests: fix memory leak (found by Smatch).
Lionel Debroux
lionel_debroux at yahoo.fr
Sat Oct 20 14:33:12 CDT 2007
---
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;
}
--
1.5.3.2
--------------070401090606080803000606--
More information about the wine-patches
mailing list