diff options
Diffstat (limited to 'api/entry.c')
-rw-r--r-- | api/entry.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/api/entry.c b/api/entry.c index 4b56a12..6afccbc 100644 --- a/api/entry.c +++ b/api/entry.c @@ -22,7 +22,8 @@ HINSTANCE ResourceModule; HANDLE ModuleHeap; SECURITY_ATTRIBUTES SecurityAttributes = { .nLength = sizeof(SECURITY_ATTRIBUTES) }; -static FARPROC WINAPI DelayedLoadLibraryHook(unsigned dliNotify, PDelayLoadInfo pdli) +static FARPROC WINAPI +DelayedLoadLibraryHook(unsigned dliNotify, PDelayLoadInfo pdli) { if (dliNotify != dliNotePreLoadLibrary) return NULL; @@ -53,7 +54,7 @@ DllMain(_In_ HINSTANCE hinstDLL, _In_ DWORD fdwReason, _In_ LPVOID lpvReserved) break; case DLL_PROCESS_DETACH: - NamespaceCleanup(); + NamespaceDone(); LocalFree(SecurityAttributes.lpSecurityDescriptor); HeapDestroy(ModuleHeap); break; |