llist: clear the list pointer when a node is removed

Closes #14738
This commit is contained in:
Stefan Eissing 2024-08-30 11:54:14 +02:00 committed by Daniel Stenberg
parent 7143833f14
commit bc81292ea6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;