crypt32: When removing contexts from a list, make sure the context no longer references the list.
This commit is contained in:
parent
976c6ff3f8
commit
fb5e0d8a4d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue