libcurl: some OOM handling fixes
This commit is contained in:
@@ -131,6 +131,10 @@ Curl_llist_remove(struct curl_llist *list, struct curl_llist_element *e,
|
||||
|
||||
list->dtor(user, e->ptr);
|
||||
|
||||
e->ptr = NULL;
|
||||
e->prev = NULL;
|
||||
e->next = NULL;
|
||||
|
||||
free(e);
|
||||
--list->size;
|
||||
|
||||
|
Reference in New Issue
Block a user