diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-12-05 22:16:14 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-12-05 22:16:14 +0000 |
commit | 4d5a44907aac4575e14651ef0f82b8413d323b9d (patch) | |
tree | 9e902a94d5e9997d582dbc403d08e7a8f4e83616 /lib | |
parent | c7512fd6222f8607869c0aa0ef323ed86c8cd9eb (diff) |
Do not use debug_malloc if it hasn't been initialized.
This can happen when debug_malloc_init calls pool_init which calls
malloc (because the kernel is built with POOL_DIAGNOSTIC) which in turn
calls debug_malloc and debug_malloc just happens to trigger on all memory
allocations.
This allows us to run a kernel debugging _all_ allocations.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions