Fix a small memory leak.
Merge branch 'hotfix/memoryFix'