Commit fb5e0d8a authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: When removing contexts from a list, make sure the context no longer references the list.

parent 976c6ff3
......@@ -289,6 +289,7 @@ void ContextList_Delete(struct ContextList *list, void *context)
EnterCriticalSection(&list->cs);
list_remove(entry);
LeaveCriticalSection(&list->cs);
list_init(entry);
list->contextInterface->free(context);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment