I know alot of languages have this common problem, where you allocate a bit of memory, but it needs to be manualy destroyed. I know that all basicaly allocated memory (int,char,ect) is all deleted at the end of the function or program depending on how you used it.
But I was recently told that it's a good idea to clean up pointers before your program exits, can anyone shead some light on this? Bit confused as it stands