Commit ca4fa365 authored by Alexandre Julliard's avatar Alexandre Julliard

Don't call SNOOP_RegisterDLL on builtins.

parent aeb92b1c
......@@ -655,7 +655,7 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule, LPCSTR filename, DWORD flags,
return NULL;
}
if (pe_export)
if (!builtin && pe_export)
SNOOP_RegisterDLL( hModule, wm->modname, pe_export->Base, pe_export->NumberOfFunctions );
/* Send DLL load event */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment