]> git.ozlabs.org Git - ccan/commitdiff
tal: add xor into child_parent pointer.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Sep 2017 06:57:03 +0000 (16:27 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Sep 2017 06:57:03 +0000 (16:27 +0930)
I had a case where I was handing a sub-object (not a tal object!) to
tal_steal() and it wasn't detected, because the pointers looked correct.

This should help.

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

No differences found