git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8691960
)
s3: Remove talloc_autofree_context() from ctdb_read_req()
author
Volker Lendecke
<vl@samba.org>
Sat, 25 Sep 2010 22:50:33 +0000
(15:50 -0700)
committer
Volker Lendecke
<vl@samba.org>
Sun, 26 Sep 2010 01:29:28 +0000
(
03:29
+0200)
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index e0682f3a7412a8bbbdb912541cad3f8342712ff3..101ab30a6d1a2289ad39327c0b8dfbcac944597b 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-380,7
+380,8
@@
static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
goto next_pkt;
}
- if (!(msg_state = TALLOC_P(talloc_autofree_context(), struct deferred_msg_state))) {
+ msg_state = TALLOC_P(NULL, struct deferred_msg_state);
+ if (msg_state == NULL) {
DEBUG(0, ("talloc failed\n"));
TALLOC_FREE(hdr);
goto next_pkt;