jmap: fix jmap_free, tests.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Aug 2011 02:30:13 +0000 (12:00 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Aug 2011 02:30:13 +0000 (12:00 +0930)
commit03f017e9aff901d5d80bd577732543961a13c497
tree8ef30e57e12fe44f15c7d485c7c3bf429708d9d8
parent3baf0effcab56930c563cdf785fbbe25c5c278aa
jmap: fix jmap_free, tests.

Memory leak in tests revealed bug in jmap_free.  Also, out-by-one
error.
ccan/jmap/jmap.c
ccan/jmap/test/run-ptridx-type.c
ccan/jmap/test/run-uintidx-type.c