Fix crash due to uninitialized pointer (not a problem in 3.4.x or below).