mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
crypt32: Delete the oid and sip static critical sections when unloading the dll.
This commit is contained in:
parent
3abbbb2556
commit
10faa9997e
2 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,7 @@ static void free_function_sets(void)
|
|||
DeleteCriticalSection(&setCursor->cs);
|
||||
CryptMemFree(setCursor);
|
||||
}
|
||||
DeleteCriticalSection(&funcSetCS);
|
||||
}
|
||||
|
||||
/* There is no free function associated with this; therefore, the sets are
|
||||
|
@ -1461,6 +1462,7 @@ static void free_oid_info(void)
|
|||
list_remove(&info->entry);
|
||||
CryptMemFree(info);
|
||||
}
|
||||
DeleteCriticalSection(&oidInfoCS);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
|
|
@ -616,6 +616,7 @@ void crypt_sip_free(void)
|
|||
FreeLibrary(prov->info.hSIP);
|
||||
CryptMemFree(prov);
|
||||
}
|
||||
DeleteCriticalSection(&providers_cs);
|
||||
}
|
||||
|
||||
/* Loads the SIP for pgSubject into the global cache. Returns FALSE if the
|
||||
|
|
Loading…
Reference in a new issue