From: Rusty Russell Date: Mon, 17 Dec 2018 00:16:32 +0000 (+1030) Subject: tal: handle take() pointers more carefully. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=9d2d2c49f053018724bcc6e37029da10b7c3d60d;hp=9d2d2c49f053018724bcc6e37029da10b7c3d60d;ds=sidebyside tal: handle take() pointers more carefully. take() applies to the literal pointer value, so tal_free() means it may randomly apply to a future allocation. Similarly, tal_resize() should preserve it. Signed-off-by: Rusty Russell ---