Memory leak fix

Fix for a memory leak reported by FTS developers when testing the GT6 update.