Fix: Prevent use-of-NULL spotted by coverity