Fix memory leak in touch callback block.