git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff8f60
)
ctdb-client: Release the g_lock record once the update is done
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 19 Apr 2016 05:35:55 +0000
(15:35 +1000)
committer
Martin Schwenke
<martins@samba.org>
Tue, 5 Jul 2016 08:53:14 +0000
(10:53 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/client/client_db.c
patch
|
blob
|
history
diff --git
a/ctdb/client/client_db.c
b/ctdb/client/client_db.c
index 450b2f9fa203e9e179afbffc4fb53298d0d7cc3b..3ceb019c4d69c342174802011b97a02f1d65810c 100644
(file)
--- a/
ctdb/client/client_db.c
+++ b/
ctdb/client/client_db.c
@@
-1322,6
+1322,7
@@
static void ctdb_g_lock_lock_process_locks(struct tevent_req *req)
return;
}
+ TALLOC_FREE(state->h);
tevent_req_done(req);
}
@@
-1521,6
+1522,7
@@
static void ctdb_g_lock_unlock_fetched(struct tevent_req *subreq)
return;
}
+ TALLOC_FREE(state->h);
tevent_req_done(req);
}
@@
-1583,6
+1585,7
@@
static void ctdb_g_lock_unlock_deleted(struct tevent_req *subreq)
return;
}
+ TALLOC_FREE(state->h);
tevent_req_done(req);
}