Fix bug in list.
This commit is contained in:
parent
912cc4d0cf
commit
67a647b88d
@ -66,6 +66,8 @@ void guac_common_list_remove(guac_common_list* list,
|
||||
|
||||
/* Point previous (or head) to next */
|
||||
*(element->_ptr) = element->next;
|
||||
|
||||
if (element->next != NULL)
|
||||
element->next->_ptr = element->_ptr;
|
||||
|
||||
free(element);
|
||||
|
Loading…
Reference in New Issue
Block a user