ccanlint: Fix leak in do_reduce_features()
authorDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Apr 2017 11:29:24 +0000 (21:29 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 5 Apr 2017 05:56:33 +0000 (15:56 +1000)
commit6251b771b31cfd121efe32d08fe9b2a56546b17b
tree809a7fa8c43d79570730fe12e5111801e6a14492
parented7b9262aafed5df37dd70f0b604536576636056
ccanlint: Fix leak in do_reduce_features()

options_avail and options_used get freed, but options does not.

Found by Coverity scan.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
tools/ccanlint/tests/reduce_features.c