Fixed typo in previous memory leak patch.

Whoops.