Paul Vriens : advapi32/tests: Don't use FreeLibrary with
GetModuleHandle.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 5 13:10:26 CST 2007
Module: wine
Branch: master
Commit: 71697ec1168cb1f4be5b6a0169bc80e5814ad918
URL: http://source.winehq.org/git/wine.git/?a=commit;h=71697ec1168cb1f4be5b6a0169bc80e5814ad918
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Mon Mar 5 14:11:17 2007 +0100
advapi32/tests: Don't use FreeLibrary with GetModuleHandle.
---
dlls/advapi32/tests/crypt_md5.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/advapi32/tests/crypt_md5.c b/dlls/advapi32/tests/crypt_md5.c
index 596184d..e6c1d63 100644
--- a/dlls/advapi32/tests/crypt_md5.c
+++ b/dlls/advapi32/tests/crypt_md5.c
@@ -86,7 +86,7 @@ static void test_md5_ctx(void)
if (!pMD5Init || !pMD5Update || !pMD5Final)
{
skip("Needed functions are not available\n");
- goto out;
+ return;
}
memset( &ctx, 0, sizeof(ctx) );
@@ -102,9 +102,6 @@ static void test_md5_ctx(void)
pMD5Final( &ctx );
ok( ctxcmp( &ctx, &ctx_initialized ), "context has changed\n" );
ok( !memcmp( ctx.digest, expect, sizeof(expect) ), "incorrect result\n" );
-
-out:
- FreeLibrary( module );
}
START_TEST(crypt_md5)
More information about the wine-cvs
mailing list