]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-recoverd: Use talloc() to allocate recovery lock handle
authorMartin Schwenke <martin@meltin.net>
Mon, 3 Sep 2018 01:43:44 +0000 (11:43 +1000)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Sep 2018 07:13:12 +0000 (09:13 +0200)
commit9745524234ab57aa8a895fb90a5dad35d9064ce4
tree57142305fc8dc0132b2539e1add31377e7284423
parenta4c438601a623d2b47023621a9f0e341135192d4
ctdb-recoverd: Use talloc() to allocate recovery lock handle

At the moment this is still local and is freed after the mutex is
successfully taken.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13617

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit a53b264aee7d620ee8ecf9114b0014c5bb678484)
ctdb/server/ctdb_recoverd.c