if (create_options & FILE_NON_DIRECTORY_FILE) {
TALLOC_FREE(case_state);
- reply_force_nterror(req,
- NT_STATUS_FILE_IS_A_DIRECTORY);
+ reply_force_nterror(
+ req,
+ NT_STATUS_FILE_IS_A_DIRECTORY);
END_PROFILE(SMBntcreateX);
return;
}
if (NT_STATUS_EQUAL(status, NT_STATUS_FILE_IS_A_DIRECTORY)) {
/*
- * Fail the open if it was explicitly a non-directory file.
+ * Fail the open if it was explicitly a non-directory
+ * file.
*/
if (create_options & FILE_NON_DIRECTORY_FILE) {
}
}
- TALLOC_FREE(case_state);
-
file_len = sbuf.st_size;
fattr = dos_mode(conn,fname,&sbuf);
if(fattr == 0) {