diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-03-19 13:58:43 +1100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-04-06 08:21:13 +0200 |
commit | a630cb9a37b5ed423c5c23c021bc4bcbf28c5fc0 (patch) | |
tree | fc81d7422c8b9887ca9b111470176a9a197251dc /ctdb | |
parent | aeed66ece0220d40fe33e66f726c4638e7c02393 (diff) | |
download | samba-a630cb9a37b5ed423c5c23c021bc4bcbf28c5fc0.tar.gz |
ctdb-client: Add missing initialization of tevent_context
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>
(cherry picked from commit 4e37be92bfb790150b3791bef552aa4acf8f78b7)
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/client/client_db.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |