diff options
author | Volker Lendecke <vl@sernet.de> | 2007-12-01 15:07:58 +0100 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-12-05 13:45:12 +0100 |
commit | 222cd323cae37e87ab60dec5fa3ac2a3da7d36aa (patch) | |
tree | dbae498287ecd9b37f25b13f6a75e18feac4e8a6 /source3 | |
parent | 177bf9a877b8ed20d9abe8ada32b8d82ff9a6149 (diff) | |
download | samba-222cd323cae37e87ab60dec5fa3ac2a3da7d36aa.tar.gz samba-222cd323cae37e87ab60dec5fa3ac2a3da7d36aa.tar.bz2 samba-222cd323cae37e87ab60dec5fa3ac2a3da7d36aa.zip |
Align formatting, one TALLOC_FREE is enough
(This used to be commit 5bf4647dea71305d9a92875a751b24c8a2e4a916)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/nttrans.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index c19ba6519f..bf29a2341d 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -872,8 +872,9 @@ void reply_ntcreate_and_X(connection_struct *conn, 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; } @@ -1591,7 +1592,8 @@ static void call_nt_transact_create(connection_struct *conn, 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) { @@ -1663,8 +1665,6 @@ static void call_nt_transact_create(connection_struct *conn, } } - TALLOC_FREE(case_state); - file_len = sbuf.st_size; fattr = dos_mode(conn,fname,&sbuf); if(fattr == 0) { |