ctdb-tools: Fix heap-use-after-free problem
commit663cedd8e20861809449db06553540008758be9c
authorAmitay Isaacs <amitay@gmail.com>
Tue, 14 Oct 2014 06:52:55 +0000 (14 17:52 +1100)
committerKarolin Seeger <kseeger@samba.org>
Sun, 19 Apr 2015 19:21:37 +0000 (19 21:21 +0200)
treeaaaf2a34026ca07a35e86acff2760b6b73017589
parent8acd3c86a6ff0302b7a3ac33447fd35d213c2be3
ctdb-tools: Fix heap-use-after-free problem

Found by address sanitizer.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Fri Oct 17 12:56:02 CEST 2014 on sn-devel-104

(cherry picked from commit 470af881479d1a1588dc23ef40622b4d8f006b61)
ctdb/tools/ctdb.c