]> git.ozlabs.org Git - ccan/commitdiff
tal: don't access freed memory on unusual case of redundant tal_free() in destructor.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Mar 2018 06:25:51 +0000 (16:55 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 1 Mar 2018 06:25:51 +0000 (16:55 +1030)
We already handle normal free traversal loops, just not ones caused by a
direct tal_free() call, such a calling tal_free() on one's own parent.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found