Module: wine Branch: master Commit: 1a8001af5b6388c62b5d64cc35e35028ecb72491 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1a8001af5b6388c62b5d64cc35...
Author: Lionel Debroux lionel_debroux@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; }