Fix refcount_debug_context_count_object

This commit is contained in:
2025-09-09 14:24:59 -07:00
parent 403618888c
commit b86cbfad60

View File

@ -875,6 +875,9 @@ uint64_t refcount_debug_context_count_object(const RefcountContext *ctx,
while (queue) { while (queue) {
void *cur = queue->data; void *cur = queue->data;
queue = refcount_list_pop_full(queue, NULL, &ctx->alloc); queue = refcount_list_pop_full(queue, NULL, &ctx->alloc);
if (refcount_context_is_static(ctx, cur)) {
continue;
}
// count NULL // count NULL
if (cur == target) { if (cur == target) {
++total_count; ++total_count;