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 | 5bf4647dea71305d9a92875a751b24c8a2e4a916 (patch) | |
tree | 942e0bc48f13c47639ce3c37591e992c321052b4 /source | |
parent | 753e640f49125c319d7b8f2db262e273a1727691 (diff) | |
download | samba-5bf4647dea71305d9a92875a751b24c8a2e4a916.tar.gz samba-5bf4647dea71305d9a92875a751b24c8a2e4a916.tar.xz samba-5bf4647dea71305d9a92875a751b24c8a2e4a916.zip |
Align formatting, one TALLOC_FREE is enough
Diffstat (limited to 'source')
-rw-r--r-- | source/smbd/nttrans.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/smbd/nttrans.c b/source/smbd/nttrans.c index c19ba6519f8..bf29a2341d7 100644 --- a/source/smbd/nttrans.c +++ b/source/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) { |