rem: void free_mem(void* ptr)
add: free_mem(void *ptr)
context: void free_mem(void* ptr){	if (ptr != NULL)	{#ifdef DEBUG		for (mem_iter_t i = mem_list.begin(); i != mem_list.end(); ++i)		{			if (i->ptr == ptr)			{				free(i->ptr);				free(i->file);				mem_list.erase(i);				return;			}		}#else		mem_list.remove(ptr);		free(ptr);#endif	}}