not really that big a deal actually, most of the code is already done for you with that handy function free().Originally Posted by JosephRagsdale
![]()
JAVA?Perhaps I'm too accustomed to a garbage collector![]()
not really that big a deal actually, most of the code is already done for you with that handy function free().Originally Posted by JosephRagsdale
![]()
JAVA?Perhaps I'm too accustomed to a garbage collector![]()
Warning: Opinions subject to change without notice
The C Library Reference Guide
Understand the fundamentals
Then have some more fun
Yes, but this thread is about cleaning up data structures that have had many malloc's associated with them, so you can't just do a single free() call to clean up.Originally Posted by caroundw5h
true, but my point was imagine how much more annoying it would be if you had to code free from hand all the time. the function simplifies your life.Originally Posted by cwr
Warning: Opinions subject to change without notice
The C Library Reference Guide
Understand the fundamentals
Then have some more fun