]> git.ipfire.org Git - thirdparty/dhcp.git/commit
- Fix several cases where a refcounted memory allocator would set the pointer
authorTed Lemon <source@isc.org>
Sat, 31 Jul 1999 17:53:05 +0000 (17:53 +0000)
committerTed Lemon <source@isc.org>
Sat, 31 Jul 1999 17:53:05 +0000 (17:53 +0000)
commit7109aa95218693fd402c39312c0d51029d6412a7
treeeb6e2938da2493b8c172a01b2c20b6fc64894807
parent0852a27f3267743cf5b957983c36d8f16d710674
- Fix several cases where a refcounted memory allocator would set the pointer
  to null and then fail to return immediately, possibly causing a core dump.
  Now, the pointer will be set to null and it will return a failure status
  immediately.
- Make packet allocator reference counted, and keep a cache of packet
  structures so that allocating and freeing them will be cheap.
common/alloc.c