Fixed possible use of uninitialized memory.