msvcrt/tests: Remove wrong FreeLibrary and fix typo's.
This commit is contained in:
parent
16d9123377
commit
059436d536
|
@ -187,7 +187,7 @@ static void InitFunctionPtrs(void)
|
|||
hMsvcrt = GetModuleHandleA("msvcrt.dll");
|
||||
if (!hMsvcrt)
|
||||
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
|
||||
ok(hMsvcrt != 0, "LoadLibraryA failed\n");
|
||||
ok(hMsvcrt != 0, "GetModuleHandleA failed\n");
|
||||
if (hMsvcrt)
|
||||
{
|
||||
SETNOFAIL(poperator_new, "??_U@YAPAXI@Z");
|
||||
|
@ -1004,8 +1004,5 @@ START_TEST(cpp)
|
|||
test_rtti();
|
||||
test_demangle_datatype();
|
||||
test_demangle();
|
||||
|
||||
if (hMsvcrt)
|
||||
FreeLibrary(hMsvcrt);
|
||||
}
|
||||
#endif /* __i386__ */
|
||||
|
|
|
@ -135,7 +135,7 @@ START_TEST(string)
|
|||
hMsvcrt = GetModuleHandleA("msvcrt.dll");
|
||||
if (!hMsvcrt)
|
||||
hMsvcrt = GetModuleHandleA("msvcrtd.dll");
|
||||
ok(hMsvcrt != 0, "LoadLibraryA failed\n");
|
||||
ok(hMsvcrt != 0, "GetModuleHandleA failed\n");
|
||||
SET(pmemcpy,"memcpy");
|
||||
SET(pmemcmp,"memcmp");
|
||||
|
||||
|
|
Loading…
Reference in New Issue