failtest: Remove memory leak
authorDavid Gibson <david@gibson.dropbear.id.au>
Sun, 2 Apr 2017 09:06:06 +0000 (19:06 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 5 Apr 2017 05:56:33 +0000 (15:56 +1000)
commit3c65e082a9547992222a9f379f2484cceaaedfa8
treed446046a558ed724b498bb82b4d1cbee49f73fb2
parent4e94428ea403f94679ad20e648424bf30464890a
failtest: Remove memory leak

Somewhat ironically, a path in failtest related to detecting leaks in the
tested program itself leaks memory.  This corrects it.

Detected by Coverity.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/failtest/failtest.c