crypt32: Don't delete a context when removing it from a list.

This commit is contained in:
Juan Lang 2009-10-30 18:19:39 -07:00 committed by Alexandre Julliard
parent 787d0ab564
commit df39bbba4f
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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 */