realloc() has that horrible overloaded free semantic when size is 0: current code...
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 30 Jul 2009 20:10:33 +0000 (13:10 -0700)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 4 Aug 2009 07:20:48 +0000 (16:50 +0930)
commit8b6a5bba93843cd83b7b386b82949ad88f29884a
treeb1b56ad87df396db79fd079e39d3dab8fc3f3e69
parent6de2823f5f7976d4efa20761e518d6b67753f054
realloc() has that horrible overloaded free semantic when size is 0: current code does a free of the old record in this case, then fail.
lib/tdb/common/tdb.c