ctdb: Do not leak fd handle in control_restoredb()
authorAndreas Schneider <asn@samba.org>
Thu, 16 Feb 2017 15:55:35 +0000 (16:55 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 17 Feb 2017 17:43:15 +0000 (18:43 +0100)
commit8ebe9f8551ad6fa9cbc49b283360e608e381656a
tree575416ae89fb5ec3f24615c8071dd8904439cafb
parent2458752fd06b3ebf760455208a524e335b9d48ba
ctdb: Do not leak fd handle in control_restoredb()

Found by covscan.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Feb 17 18:43:16 CET 2017 on sn-devel-144
ctdb/tools/ctdb.c