Fix a memory leak in mystmt

This might be our guy.