Merge pull request #1230 from urbit/philip/weak-leak

if sweep gives 0 and reference count != 0, leak
This commit is contained in:
Philip Monk 2019-03-22 13:12:43 -07:00 committed by GitHub
commit 8d7c32a1a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}