4 ms·
> `malloc` isn't free I see what you did there. :)
by sz4kerto 12y ago
> `malloc` isn't free
I see what you did there. :)
- agumonkey 12y agoHa. I wish, but it was too early in the morning for me to generate such puns.
- wabbawabbe 12y agoWhat's the pun ?
- jimktrains2 12y agofree() is the "counterpart" to malloc(). malloc() lets you allocate memory for your use; free() returns that memory back to the system. The original posters meaning was that "malloc() has non-trivial execution costs", but the other meaning is, tautologically, malloc is the "complement" of free (think true is not false).