Fix translation memory leak

Merged Daniel Garcia Moreno requested to merge fix-tm-memory-leak into master

Merge request reports