[WINESYNC] setupapi: Use a global buffer to read fake dll files and free it only once we are done with all the fake dlls.

wine commit id 11d66a87887d6155850c1f5f0c889bfefe6add87 by Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
winesync 2024-01-04 18:12:07 +01:00 committed by Hermès Bélusca-Maïto
parent beb0c4a591
commit 076b4ec9ad
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 2 additions and 1 deletions

View file

@ -756,6 +756,7 @@ 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__

View file

@ -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: 66f6b786591e0d187967a26e9c9a1a8543ca91f1
wine: 11d66a87887d6155850c1f5f0c889bfefe6add87