From 894b0273fcff28dfaef80ce7be1bcc35d47aed65 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 21 Jun 2011 11:20:07 +0930 Subject: lib/ccan/tally.h: update for FreeBSD compile. Based on commit 0284423676209380a2e07086b9b356096a2f93e6 from CCAN: Author: Rusty Russell Date: Tue Jun 21 10:43:31 2011 +0930 tally: fix FreeBSD compile, memleak in tests. Posix says ssize_t is in sys/types.h; on Linux stdlib.h is enough. Autobuild-User: Rusty Russell Autobuild-Date: Tue Jun 21 05:52:12 CEST 2011 on sn-devel-104 --- lib/ccan/tally/test/run-renormalize.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/ccan/tally/test/run-renormalize.c') diff --git a/lib/ccan/tally/test/run-renormalize.c b/lib/ccan/tally/test/run-renormalize.c index 7c141528d2..8fe9dbce32 100644 --- a/lib/ccan/tally/test/run-renormalize.c +++ b/lib/ccan/tally/test/run-renormalize.c @@ -21,5 +21,6 @@ int main(void) ok1(tally->counts[0] == 2); ok1(tally->counts[1] == 0); + free(tally); return exit_status(); } -- cgit