opt: fix memory leak in tests.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:19:36 +0000 (11:49 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 22 Mar 2011 01:19:36 +0000 (11:49 +1030)
commit6fa62e5ae1e29646aa718e99020fdf2efee74373
tree3dd4f8b3a094b0bac34c733a4095b56184cbe782
parente34192d580958aaffff3754a4e2bf1eccbb489f8
opt: fix memory leak in tests.

No only does this give us one more ccanlint point, it clears the way
to see if we introduce a *real* memory leak later.
ccan/opt/test/run-correct-reporting.c
ccan/opt/test/run-helpers.c
ccan/opt/test/run-no-options.c
ccan/opt/test/run-usage.c
ccan/opt/test/run.c
ccan/opt/test/utils.c
ccan/opt/test/utils.h