mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
Implemented PE_UnloadLibrary().
This commit is contained in:
parent
7938aaba1a
commit
4fd8cc37e2
@ -930,7 +930,12 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err)
|
||||
*/
|
||||
void PE_UnloadLibrary(WINE_MODREF *wm)
|
||||
{
|
||||
/* FIXME, do something here */
|
||||
DWORD vma_size = calc_vma_size( wm->module );
|
||||
VirtualFree( (LPVOID)wm->module, vma_size, MEM_RELEASE );
|
||||
|
||||
HeapFree( GetProcessHeap(), 0, wm->filename );
|
||||
HeapFree( GetProcessHeap(), 0, wm->short_filename );
|
||||
HeapFree( GetProcessHeap(), 0, wm );
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user