#ifdef DEBUG_MEM fprintf(memlog, "malloced(%d)\n", pointer); #endif #ifdef DEBUG_MEM fprintf(memlog, "freed(%d)\n", pointer); #endif