From c4efae77fae88163b119ac71e8ed3220fb1f73b4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Sep 2010 15:50:33 -0700 Subject: s3: Remove talloc_autofree_context() from ctdb_read_req() --- source3/lib/ctdbd_conn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib/ctdbd_conn.c') 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; -- cgit