alelievr / libft-unit-test

453 stars 88 forks source link

test_ft_lstdelone_nulls: don't stupidly double-free the node. #143

Closed ghost closed 1 year ago

ghost commented 1 year ago

ft_lstdelone

Takes as a parameter a node and

Thus (a working) ft_lstdelone(node, NULL) already freed the node.