2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-23 02:17:31 +00:00

22 Commits

Author SHA1 Message Date
Ted Lemon
8206384cd8 Don't do refcount tracing on dmalloc/dfree unless the user asks for it. 2001-04-16 22:19:20 +00:00
Ted Lemon
0ae2319345 Theoretically fancier reference count history printer (needs more work) 2001-01-25 08:27:20 +00:00
Ted Lemon
f5985f55bf - Always decrement the reference count on an object before dereferencing it,
so that if there's a dangling pointer, it's caught at dereference time.
2000-12-28 23:22:43 +00:00
Ted Lemon
c509341958 Call object initializer from omapi_object_initialize if there is one. 2000-10-10 22:59:37 +00:00
Damien Neil
01a4c2a2a9 Tweak object dereferencing: I believe dereferencing object chains were not
being freed correctly.  (This duplicates a change made by Tale in revision
1.8 of the BIND9 object.c.)
2000-07-10 17:05:18 +00:00
Ted Lemon
b1b044759a - Support a per-type allocator that is called prior to trying dmalloc,
so that objects can maintain free lists.
2000-07-06 22:43:32 +00:00
Ted Lemon
7cec271f9a Use object free routine if provided. 2000-07-05 07:29:56 +00:00
Ted Lemon
524c92851c When debugging malloc on an object, be sure it has no special free routine. 2000-06-24 06:27:04 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
df9ff0a119 Add support for omapi_addr_list_t. 2000-05-01 23:47:08 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
996a9e8520 Fix up handling of bogus dereferences. 2000-01-27 23:20:03 +00:00
Ted Lemon
b4f786d47e - In reference count history, remember the address where the reference
is stored as well as the address of the thing referenced.
2000-01-27 22:20:29 +00:00
Ted Lemon
46c38f9c5b When complaining about freeing unknown memory, use the name of the caller. 2000-01-26 17:25:24 +00:00
Ted Lemon
c258c7a224 Use malloc, not dmalloc, within dmalloc. :') 2000-01-26 16:00:08 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
6592de2c75 New malloc debug scheme. 2000-01-25 01:26:25 +00:00
Ted Lemon
abf550084b Initialize head of buffers in allocator, just to be sure. 1999-10-19 15:35:16 +00:00
Ted Lemon
6a4c4be871 Seperate public and private object declarations. 1999-10-08 03:43:15 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
581e37e47f Debugging sweep, added some new functionality 1999-09-08 01:48:56 +00:00
Ted Lemon
61b844bfd7 Omapi library, initial checkin 1999-09-02 00:32:56 +00:00