diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 15:50:33 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 03:29:28 +0200 |
commit | c4efae77fae88163b119ac71e8ed3220fb1f73b4 (patch) | |
tree | 212f3bdb4195d44c85c59bb994614ae09c2c3bc9 /source3/lib | |
parent | 86919606c7bb9f80200799a23fb491a9bb7f2f14 (diff) | |
download | samba-c4efae77fae88163b119ac71e8ed3220fb1f73b4.tar.gz samba-c4efae77fae88163b119ac71e8ed3220fb1f73b4.tar.bz2 samba-c4efae77fae88163b119ac71e8ed3220fb1f73b4.zip |
s3: Remove talloc_autofree_context() from ctdb_read_req()
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ctdbd_conn.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c index e0682f3a74..101ab30a6d 100644 --- 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; |