]> git.ozlabs.org Git - ccan/commitdiff
opt: don't leak on exit (valgrind complains).
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 15 Dec 2011 03:45:47 +0000 (14:15 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 15 Dec 2011 03:45:47 +0000 (14:15 +1030)
Recent real usage case showed this leak when we call opt_usage_and_exit:
we don't bother freeing before exit.  With valgrind, it matters.


No differences found