mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
fix the advapi32 crypt winetest crash
svn path=/trunk/; revision=35959
This commit is contained in:
Vendored
+3
@@ -184,6 +184,8 @@ static void debug_init(void)
|
||||
{
|
||||
char *wine_debug;
|
||||
DWORD dwLength;
|
||||
/* GetEnvironmentVariableA will change LastError! */
|
||||
DWORD LastError = GetLastError();
|
||||
|
||||
if (nb_debug_options != -1) return; /* already initialized */
|
||||
nb_debug_options = 0;
|
||||
@@ -199,6 +201,7 @@ static void debug_init(void)
|
||||
free(wine_debug);
|
||||
}
|
||||
}
|
||||
SetLastError(LastError);
|
||||
}
|
||||
|
||||
/* varargs wrapper for funcs.dbg_vprintf */
|
||||
|
||||
Reference in New Issue
Block a user