]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-client: Add missing initialization of tevent_context
authorAmitay Isaacs <amitay@gmail.com>
Mon, 19 Mar 2018 02:58:43 +0000 (13:58 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 27 Mar 2018 02:27:24 +0000 (04:27 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13356

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_db.c

index a0c4cfed652502b784403fdd3debd53c9ce6937b..c0ecdeb2d307dc57b2be5ca29e71e1421b6215fb 100644 (file)
@@ -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);