ctdb-common: Fix CID 1363227 Resource leak (RESOURCE_LEAK)
authorMartin Schwenke <martin@meltin.net>
Thu, 4 Aug 2016 05:50:12 +0000 (15:50 +1000)
committerMartin Schwenke <martins@samba.org>
Mon, 8 Aug 2016 06:17:34 +0000 (08:17 +0200)
commit4541301d92e3c140adb6444143ad697d35926179
tree0d89b8263e3557532aab19285602937f6dc6b45a
parent1f942ec36c98127e25d7aa9b8370a4f621b9d362
ctdb-common: Fix CID 1363227 Resource leak (RESOURCE_LEAK)

Occurs on an invalid line that isn't the first.  Isn't really a leak
because it is allocated off mem_ctx, which should be freed by the
caller.

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

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/common/system_util.c