advpack/tests: Add a FreeLibrary and a skip message.
This commit is contained in:
parent
3dcf22e03f
commit
ee69c6141b
|
@ -82,7 +82,11 @@ static BOOL init_function_pointers(void)
|
||||||
|
|
||||||
if (!pCloseINFEngine || !pDelNode || !pGetVersionFromFile ||
|
if (!pCloseINFEngine || !pDelNode || !pGetVersionFromFile ||
|
||||||
!pOpenINFEngine || !pSetPerUserSecValues || !pTranslateInfString)
|
!pOpenINFEngine || !pSetPerUserSecValues || !pTranslateInfString)
|
||||||
|
{
|
||||||
|
skip("Needed functions are not available\n");
|
||||||
|
FreeLibrary(hAdvPack);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue