ctdb-daemon: Improve error handling consistency
authorMartin Schwenke <martin@meltin.net>
Mon, 27 Aug 2018 05:28:47 +0000 (15:28 +1000)
committerStefan Metzmacher <metze@samba.org>
Wed, 5 Sep 2018 11:31:40 +0000 (13:31 +0200)
commita4021fb56d8891728ae6c4ed84f79f66d6d9ef92
tree6b7a08cd49d9a9bd532037f5e39be654f1146b18
parentae515ea3dbef52099535d8621b511c254fc21f86
ctdb-daemon: Improve error handling consistency

Other errors free argv, so do it here too.

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

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