You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prev from that element did end up getting traversed in one of my tests and it was pointing at freed memory - valgrind caught it.
The test did a sort and the element with the bad previous pointer ended up as the 1st element. The problem happened when I did a remove operation on it.
sort_list() isn't initialising the previous pointer at the start of the second list to NULL.
The text was updated successfully, but these errors were encountered: