Re: ntdll: Fix the file mapping view leak in the case of module loading failure.
27 Feb
2012
27 Feb
'12
1:12 p.m.
Dmitry Timoshkov <dmitry(a)baikal.ru> writes:
@@ -1548,6 +1548,8 @@ static NTSTATUS load_native_dll( LPCWSTR load_path, LPCWSTR name, HANDLE file, *pwm = wm; status = STATUS_SUCCESS; done: + if (status && module) + NtUnmapViewOfSection( NtCurrentProcess(), module );
It doesn't make sense to free the module as long as we don't free the associated modref. -- Alexandre Julliard julliard(a)winehq.org
5036
Age (days ago)
5036
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard