Address PR review comments

set `cache->chain` to NULL,
instead of setting the whole structure to zero.
1 file changed