]> git.ozlabs.org Git - ccan/commit
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)
commit9728f1d9c26e329a13dc66a35b11fafa69ba016d
treec860578e88e825956188cf8582f0d0998c44eab3
parentd16685e327c01b79bf4b49793f56cbe3e33ff179
tal: add xor into child_parent pointer.

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>
ccan/tal/tal.c