Fixed memory.c