Fix small memory leak in user log caching #4040
Merge branch 'V8_1_6-branch'