MODE-1938 - Fixed potential leak of uninitialized workspace caches.