MODE-1938 - Fixed potential leak of un-initialized workspace caches.