netcfgx: Fix memory leak (valgrind)
Alistair Leslie-Hughes
leslie_alistair at hotmail.com
Tue May 6 23:04:16 CDT 2014
Hi,
Changelog:
netcfgx: Fix memory leak (valgrind)
Best Regards
Alistair Leslie-Hughes
-------------- next part --------------
>From f141ac4170860fdc9e2955703049eb722190ebb8 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed, 7 May 2014 14:02:01 +1000
Subject: [PATCH] Fix memory leak (valgrind)
To: wine-patches <wine-patches at winehq.org>
---
dlls/netcfgx/tests/netcfgx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/netcfgx/tests/netcfgx.c b/dlls/netcfgx/tests/netcfgx.c
index 084f8cd..fda39f5 100644
--- a/dlls/netcfgx/tests/netcfgx.c
+++ b/dlls/netcfgx/tests/netcfgx.c
@@ -74,6 +74,7 @@ static void create_configuration(void)
hr = INetCfgLock_ReleaseWriteLock(netlock);
ok(hr == S_OK, "got 0x%08x\n", hr);
+ INetCfgLock_Release(netlock);
INetCfg_Release(config);
}
}
--
1.9.1
More information about the wine-patches
mailing list