ctdb-daemon: Improve error handling consistency
commitabb633701c518bd850c80ae519a38adcd2822edf
authorMartin Schwenke <martin@meltin.net>
Mon, 27 Aug 2018 05:28:47 +0000 (27 15:28 +1000)
committerKarolin Seeger <kseeger@samba.org>
Tue, 4 Sep 2018 10:14:32 +0000 (4 12:14 +0200)
treef02b6749837a1684f359d5b7e08c8fa2047b66bf
parent1a171bc54c07ec092d02c2ab89ae5c7263b97b86
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