clean up the source code in my_memory.c