]> git.ozlabs.org Git - ccan/commit
ccan/rune: fix take() logic which caused memory leaks.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 1 Jul 2022 07:25:33 +0000 (16:55 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 1 Jul 2022 07:25:33 +0000 (16:55 +0930)
commite8de77c5c38b18981581c93b86961c2a4dedf1af
tree952039fc474d87f1fea76a3848ce9ced145ff216
parent3aa68cf40f5ee0ce23c083809cb1b3f4d3ca5394
ccan/rune: fix take() logic which caused memory leaks.

You have to tal_steal() if you want to keep it!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/rune/rune.c