]> git.ozlabs.org Git - ccan/commit
tal: make sure tal_free() preserves errno.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Nov 2012 02:22:41 +0000 (12:52 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 19 Nov 2012 02:22:41 +0000 (12:52 +1030)
commit34c2962d00c4ec24f248bddfd42f2e79cc6b61ef
treec7dd4af3e135e486fd489f95d59d3e25e81848bb
parent78ba5de2dc4c74f772b9e40cd673476dac6d7a1a
tal: make sure tal_free() preserves errno.

Always good form to have cleanup functions preserve errno.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/tal.c
ccan/tal/tal.h
ccan/tal/test/run-free.c [new file with mode: 0644]