Fixed memory leak when doesn't using cache.