Fix memory leak.

Unless I missed something else.