Fixed a double-free.