Juan Lang : crypt32: Don't delete a context when removing it from a list.
Module: wine Branch: master Commit: df39bbba4f0317aeed8860761067407af11a5c07 URL: http://source.winehq.org/git/wine.git/?a=commit;h=df39bbba4f0317aeed88607610... Author: Juan Lang <juan.lang(a)gmail.com> Date: Fri Oct 30 18:19:39 2009 -0700 crypt32: Don't delete a context when removing it from a list. --- dlls/crypt32/context.c | 1 - dlls/crypt32/tests/store.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/crypt32/context.c b/dlls/crypt32/context.c index e0c1932..73e1e0e 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 1f6609c..419d2dd 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 */
participants (1)
-
Alexandre Julliard