Memory leak fix

Lesson learned, I thought TB engine frees it automagically.