New set of macros for server calls; makes requests without variable
part somewhat faster.
diff --git a/loader/module.c b/loader/module.c
index ce32ff6..9c9bb52 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -1597,11 +1597,10 @@
if ( free_lib_count <= 1 )
{
MODULE_DllProcessDetach( FALSE, NULL );
- SERVER_START_REQ
+ SERVER_START_REQ( unload_dll )
{
- struct unload_dll_request *req = server_alloc_req( sizeof(*req), 0 );
req->base = (void *)wm->module;
- server_call_noerr( REQ_UNLOAD_DLL );
+ SERVER_CALL();
}
SERVER_END_REQ;
MODULE_FlushModrefs();