Fixed a memory bug.
Fixed a memory bug.