What do you mean? There is no garbage collection in C, and certainly no compaction.

To "reset the state of the heap", you have to call free() for every malloc() call. And as I understand your code, you do that already.

Compaction is pretty much impossible. Unlike higher-level languages like Java or C#, you can not change the address of an object, because any pointers to it would be invalidated.

Force garbage collection/compaction with malloc()
What prepositions do I use with "take offense"?

Specifically:

"I take offense at you over your words"

Are at and over correct?
