diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-10-06 14:42:03 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-10-06 17:20:20 -0400 |
| commit | 791c153aabd579f518a9b00613459cba13734797 (patch) | |
| tree | 858ec6f9a8398398a8a53ec5a886bca5825c62e0 /src/memory.cpp | |
| parent | 286bf5539527500429cfca4ded0bb78406f6364b (diff) | |
Memory management - ctors and dtors
Diffstat (limited to 'src/memory.cpp')
| -rw-r--r-- | src/memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memory.cpp b/src/memory.cpp index 87d5eca..360e2e2 100644 --- a/src/memory.cpp +++ b/src/memory.cpp @@ -126,7 +126,7 @@ uint64_t Buckets_NewHandle(std::size_t bucketBytes, uint64_t bucketItemCount, ui void Pke_DebugPrint() { printf("Memory Manager printout:\nBucket count: %li\n", bucketHead + 1); - for (long i = 0; i < bucketHead + 1; ++i) { + for (long i = 0; i <= bucketHead; ++i) { printf("- bucket #%li\n", i); printf("\tsize: %li\n", buckets[i].size); printf("\thead: %li\n", buckets[i].head); |
