From ee69c6141b01e1a89b56beb35275a95cf4db4fc2 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Sun, 8 Jun 2008 12:31:26 +0200 Subject: [PATCH] advpack/tests: Add a FreeLibrary and a skip message. --- dlls/advpack/tests/advpack.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/advpack/tests/advpack.c b/dlls/advpack/tests/advpack.c index 0b668a71a5b..eeb35c6264c 100644 --- a/dlls/advpack/tests/advpack.c +++ b/dlls/advpack/tests/advpack.c @@ -82,7 +82,11 @@ static BOOL init_function_pointers(void) if (!pCloseINFEngine || !pDelNode || !pGetVersionFromFile || !pOpenINFEngine || !pSetPerUserSecValues || !pTranslateInfString) + { + skip("Needed functions are not available\n"); + FreeLibrary(hAdvPack); return FALSE; + } return TRUE; }