fixed memory leak in memory_cache