Fixed uninitialised pointer.