]> git.ozlabs.org Git - ccan/commit
tools: fix realloc bug.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Sep 2011 03:54:34 +0000 (13:24 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 12 Sep 2011 03:54:34 +0000 (13:24 +0930)
commit73753f596f5a588b90bc7ec19773173ec36230be
tree2b00d3d0a7cd226eb068c32aefe5628b620d71de
parentce859a2e6a12f093fbb978bc6ed011f10980f60a
tools: fix realloc bug.

Reallocing smaller can move the pointer; certainly valgrind detects
it.  Found while chasing intermittant errors on "make fastcheck".
tools/depends.c