Timeline for CS50 PSET5 Memory Leak
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 5, 2016 at 7:21 | vote | accept | Alex Chan | ||
Nov 1, 2016 at 11:52 | comment | added | ronga | Well, keep that line in there, you should free unload_cursor after you free temp. Also, instead of while (unload_cursor != NULL) in your unload() function, try while (unload_cursor->next != NULL). | |
Oct 31, 2016 at 0:29 | comment | added | Alex Chan | I have tried to free unload_cursor at the end too but it did not seem the right thing to do. Please provide more guidelines as to how to stop memories from leaking. Thank you so much!!!!!! | |
Oct 30, 2016 at 7:47 | history | answered | ronga | CC BY-SA 3.0 |