Originally Posted by Salem It's your print list which is blowing up because of the faulty loop. while (root != NULL) Use the variable you're using to step through the list. Learn to use the debugger. It would have pointed this out right away. You are right. Silly me! I don't even know why I used the root variable, I did it right on the FreeWholeList() function. Thank you very much Salem.
View Tag Cloud