From: Juan Lang Date: Sat, 31 Oct 2009 01:19:39 +0000 (-0700) Subject: crypt32: Don't delete a context when removing it from a list. X-Git-Tag: 1.0.12-alt6.8~166 X-Git-Url: http://git.etersoft.ru/projects/?a=commitdiff_plain;h=d0ab68f4df6e3bf442ef49c73c1bedee8f59db74;p=wine%2Feterwine.git crypt32: Don't delete a context when removing it from a list. --- diff --git a/dlls/crypt32/context.c b/dlls/crypt32/context.c index e0c19321e7..73e1e0ea20 100644 --- a/dlls/crypt32/context.c +++ b/dlls/crypt32/context.c @@ -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) diff --git a/dlls/crypt32/tests/store.c b/dlls/crypt32/tests/store.c index 1f6609cf63..419d2ddf61 100644 --- a/dlls/crypt32/tests/store.c +++ b/dlls/crypt32/tests/store.c @@ -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 */