mirror of
https://github.com/reactos/reactos.git
synced 2024-06-29 01:12:06 +00:00
[WINESYNC] setupapi: Only cleanup fake dlls once the whole section has been executed.
wine commit id 6836990e0b1143cad40d6f9cf54d85483e353cf5 by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ef55a9703d
commit
ed312cfd56
|
@ -792,7 +792,6 @@ static BOOL fake_dlls_callback( HINF hinf, PCWSTR field, void *arg )
|
|||
HeapFree( GetProcessHeap(), 0, path );
|
||||
if (!ret) break;
|
||||
}
|
||||
cleanup_fake_dlls();
|
||||
return ret;
|
||||
}
|
||||
#endif // __WINESRC__
|
||||
|
@ -1442,7 +1441,9 @@ BOOL WINAPI SetupInstallFromInfSectionW( HWND owner, HINF hinf, PCWSTR section,
|
|||
else info.callback = NULL;
|
||||
|
||||
#ifdef __WINESRC__
|
||||
if (!iterate_section_fields( hinf, section, WineFakeDlls, fake_dlls_callback, NULL ))
|
||||
if (iterate_section_fields( hinf, section, WineFakeDlls, fake_dlls_callback, NULL ))
|
||||
cleanup_fake_dlls();
|
||||
else
|
||||
return FALSE;
|
||||
#endif
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@ files:
|
|||
dlls/setupapi/misc.c: dll/win32/setupapi/misc.c
|
||||
dlls/setupapi/stubs.c: dll/win32/setupapi/stubs.c
|
||||
tags:
|
||||
wine: bf18e7e71f27035c4c9dbc6d447f57a907b9f752
|
||||
wine: 6836990e0b1143cad40d6f9cf54d85483e353cf5
|
||||
|
|
Loading…
Reference in a new issue