A basic C garbage collector system. Call cantalloc()/ccantalloc() instead of malloc()/calloc() to allocate memory. Then, forget about your pointers and just call cantalloc_clean() at the end of your program to free everything. No leaks, no stress. Have a nice day!
Output:


