Correct uninitialized-memory dereference problem.