mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
crypt32: Don't delete a context when removing it from a list.
This commit is contained in:
parent
787d0ab564
commit
df39bbba4f
@ -321,7 +321,6 @@ void ContextList_Delete(struct ContextList *list, void *context)
|
||||
list_remove(entry);
|
||||
LeaveCriticalSection(&list->cs);
|
||||
list_init(entry);
|
||||
list->contextInterface->free(context);
|
||||
}
|
||||
|
||||
static void ContextList_Empty(struct ContextList *list)
|
||||
|
@ -237,7 +237,6 @@ static void testMemStore(void)
|
||||
GetLastError());
|
||||
/* try deleting a copy */
|
||||
ret = CertDeleteCertificateFromStore(copy);
|
||||
todo_wine
|
||||
ok(ret, "CertDeleteCertificateFromStore failed: %08x\n",
|
||||
GetLastError());
|
||||
/* check that the store is empty */
|
||||
|
Loading…
Reference in New Issue
Block a user