Free the Win16 dummy module and wm->deps.
diff --git a/include/module.h b/include/module.h index 386113b..c99c6c6 100644 --- a/include/module.h +++ b/include/module.h
@@ -124,6 +124,7 @@ struct _wine_modref *next; struct _wine_modref *prev; HMODULE module; + HMODULE16 hDummyMod; /* Win16 dummy module */ void *dlhandle; /* handle returned by dlopen() */ int tlsindex; /* TLS index or -1 if none */