dinput/tests: Release the instance after tests (valgrind)
Bruno Jesus
00cpxxx at gmail.com
Sat Jul 12 11:40:04 CDT 2014
Fixes bug https://bugs.winehq.org/show_bug.cgi?id=36262
-------------- next part --------------
diff --git a/dlls/dinput/tests/dinput.c b/dlls/dinput/tests/dinput.c
index cc28985..0490642 100644
--- a/dlls/dinput/tests/dinput.c
+++ b/dlls/dinput/tests/dinput.c
@@ -603,6 +603,7 @@ static void test_DirectInputJoyConfig8(void)
"IDirectInput_CreateDevice failed with guid from GetConfig hr = 0x%08x\n", hr);
}
+ IDirectInput_Release(pDI);
}
START_TEST(dinput)
More information about the wine-patches
mailing list