crypt32: Don't delete a context when removing it from a list.
authorJuan Lang <juan.lang@gmail.com>
Sat, 31 Oct 2009 01:19:39 +0000 (18:19 -0700)
committerAlexander Morozov <amorozov@etersoft.ru>
Thu, 1 Jul 2010 13:18:07 +0000 (17:18 +0400)
dlls/crypt32/context.c
dlls/crypt32/tests/store.c

index e0c19321e7384a05e76cdf5a8a3b0520ca7f0332..73e1e0ea20eb81eff6ef0ac1285cd8b78158c785 100644 (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)
index 1f6609cf6316cf91b17b5bb432fa77fb34ffe0f8..419d2ddf61afb5d4323349deb9fc6875c3181709 100644 (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 */