Alistair Leslie-Hughes : netcfgx: Fix memory leak (valgrind).
Alexandre Julliard
julliard at winehq.org
Wed May 7 15:18:15 CDT 2014
Module: wine
Branch: master
Commit: 2aaef5e48fa0d4881ed4f3fcd18d9a2dd4d8b8a0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2aaef5e48fa0d4881ed4f3fcd18d9a2dd4d8b8a0
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed May 7 14:02:01 2014 +1000
netcfgx: Fix memory leak (valgrind).
---
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);
}
}
More information about the wine-cvs
mailing list