-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Description
Description
the remove() function throws a segmentation fault.
Expected Behavior
The function should remove the parsed element.
Actual Behavior
The function fails at "t->prev->next = t->next;" and throws a seg fault
Possible Fix
Still working on it, just wanted to report it... I don't know C++ well.
Steps to Reproduce
- insert some values
- print if you want
- delete something
Context
I was trying to remove a node from the DLL