advpack/tests: Add a FreeLibrary and a skip message.

This commit is contained in:
Paul Vriens 2008-06-08 12:31:26 +02:00 committed by Alexandre Julliard
parent 3dcf22e03f
commit ee69c6141b
1 changed files with 4 additions and 0 deletions

View File

@ -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;
} }