From: Amitay Isaacs Date: Mon, 19 Mar 2018 02:58:43 +0000 (+1100) Subject: ctdb-client: Add missing initialization of tevent_context X-Git-Tag: talloc-2.1.13~242 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4e37be92bfb790150b3791bef552aa4acf8f78b7;p=thirdparty%2Fsamba.git ctdb-client: Add missing initialization of tevent_context BUG: https://bugzilla.samba.org/show_bug.cgi?id=13356 Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/client/client_db.c b/ctdb/client/client_db.c index a0c4cfed652..c0ecdeb2d30 100644 --- a/ctdb/client/client_db.c +++ b/ctdb/client/client_db.c @@ -1191,6 +1191,7 @@ struct tevent_req *ctdb_fetch_lock_send(TALLOC_CTX *mem_ctx, if (tevent_req_nomem(state->h, req)) { return tevent_req_post(req, ev); } + state->h->ev = ev; state->h->client = client; state->h->db = db; state->h->key.dptr = talloc_memdup(state->h, key.dptr, key.dsize);