Timeline for Recursion Destroy Singly linked List, memory leak?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:50 | history | edited | CommunityBot |
replaced http://cs50.stackexchange.com/ with https://cs50.stackexchange.com/
|
|
Mar 28, 2016 at 14:27 | vote | accept | Xia | ||
Mar 24, 2016 at 23:41 | comment | added | Cliff B | See edited answer. | |
Mar 24, 2016 at 23:41 | history | edited | Cliff B | CC BY-SA 3.0 |
added 889 characters in body
|
Mar 24, 2016 at 22:40 | comment | added | Xia | Yes, my goal is to free from End to Beginning, a singly linked list. Also, I don't want to return a result. Just want to free all malloc'ed memory. The problem right now is it only frees the End and then it doe not free the other nodes as it recurses back. There are 4 nodes and should be 4 frees. Valgrind only shows 1 free. | |
Mar 24, 2016 at 1:12 | history | answered | Cliff B | CC BY-SA 3.0 |