git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove connection_struct->mem_ctx, connection_struct is its own parent
[samba.git]
/
source3
/
smbd
/
trans2.c
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index e7157d02ecc8b42a5b0dfec6ab0018bd17097a5f..4d60eecda9ec3f24445401845e9ccccf9884c013 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-7542,7
+7542,7
@@
void reply_trans2(struct smb_request *req)
}
}
- if ((state = TALLOC_P(conn
->mem_ctx
, struct trans_state)) == NULL) {
+ if ((state = TALLOC_P(conn, struct trans_state)) == NULL) {
DEBUG(0, ("talloc failed\n"));
reply_nterror(req, NT_STATUS_NO_MEMORY);
END_PROFILE(SMBtrans2);