Trying to not leak some memory.