Vincent Povirk : mscoree: Avoid calling mono_image_open_from_module_handle for libraries.
Alexandre Julliard
julliard at winehq.org
Mon Aug 20 14:16:20 CDT 2012
Module: wine
Branch: master
Commit: d5cec3b08e0ab928a6d85caddbb9a5031689af90
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d5cec3b08e0ab928a6d85caddbb9a5031689af90
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Mon Aug 20 11:15:33 2012 -0500
mscoree: Avoid calling mono_image_open_from_module_handle for libraries.
---
dlls/mscoree/corruntimehost.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/mscoree/corruntimehost.c b/dlls/mscoree/corruntimehost.c
index b5ee842..ffc204d 100644
--- a/dlls/mscoree/corruntimehost.c
+++ b/dlls/mscoree/corruntimehost.c
@@ -911,13 +911,9 @@ static void CDECL ReallyFixupVTable(struct dll_fixup *fixup)
{
host->mono->mono_thread_attach(domain);
- image = host->mono->mono_image_open_from_module_handle(fixup->dll,
- filenameA, 1, &status);
+ assembly = host->mono->mono_assembly_open(filenameA, &status);
}
- if (image)
- assembly = host->mono->mono_assembly_load_from(image, filenameA, &status);
-
if (assembly)
{
int i;
More information about the wine-cvs
mailing list