[CIFS] Add missing check for path name allocation failure. Remove four