Plugged a memleak