Fix null return value dereference CID 18162