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)
committerMartin Schwenke <martins@samba.org>
Mon, 17 Sep 2018 20:58:20 +0000 (22:58 +0200)
commita53b264aee7d620ee8ecf9114b0014c5bb678484
treee1285deddaa1c02f80aa48f2314176245eb0ded3
parentaf22f03dbe9040f5f743eb85bb50d411269bbab4
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>
ctdb/server/ctdb_recoverd.c