Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4fd8cc37
Commit
4fd8cc37
authored
Dec 10, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Dec 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented PE_UnloadLibrary().
parent
7938aaba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
pe_image.c
loader/pe_image.c
+6
-1
No files found.
loader/pe_image.c
View file @
4fd8cc37
...
@@ -930,7 +930,12 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err)
...
@@ -930,7 +930,12 @@ WINE_MODREF *PE_LoadLibraryExA (LPCSTR name, DWORD flags, DWORD *err)
*/
*/
void
PE_UnloadLibrary
(
WINE_MODREF
*
wm
)
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
);
}
}
/*****************************************************************************
/*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment