Garbage collector for C