Im unsure if there is any error in my recursion in unloading/unload to free all memory. (But i doubt so because help50 tells me all my memory were freed- 367,084 allocs, 367,084 frees)
I checked similar problems in stackexchange and i believe it got to do with initialising all my node pointers to NULL right after malloc. 1) Firstly, is this a problem? 2) Didnt i already solve the problem by initializing to NULL? (did i do something wrong here?) 3) Can calloc do the same at the similar/faster speed as a whole?
Any help would be very much appreciated.
[removed spoiler code per academic honesty guidelines]