diff --git a/lib/llist.c b/lib/llist.c index 1a91f02717..f0e5fe08bb 100644 --- a/lib/llist.c +++ b/lib/llist.c @@ -170,6 +170,7 @@ Curl_node_uremove(struct Curl_llist_node *e, void *user) ptr = e->_ptr; + e->_list = NULL; e->_ptr = NULL; e->_prev = NULL; e->_next = NULL;