Before we have made any changes.
Fixed leaks in Palindrome.