From 6fa7ed4d08e6c3ffa1fd0cbeff68d4e028464188 Mon Sep 17 00:00:00 2001 From: Philip Monk Date: Fri, 22 Mar 2019 11:57:32 -0700 Subject: [PATCH] if sweep gives 0 and reference count != 0, leak --- noun/allocate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noun/allocate.c b/noun/allocate.c index 94515d47d9..5546586221 100644 --- a/noun/allocate.c +++ b/noun/allocate.c @@ -1851,7 +1851,7 @@ u3a_sweep(void) weq_w += box_u->siz_w; } else { - _ca_print_leak("weak", box_u, box_u->eus_w, box_u->use_w); + _ca_print_leak("leak", box_u, box_u->eus_w, box_u->use_w); leq_w += box_u->siz_w; }