Re: leak sanitizer support

From: Luoqi Chen <luoqi.chen_at_gmail.com>
Date: Sun, 02 Jan 2022 17:53:06 UTC
Hi, Eric,

Thanks for trying out the patch and adapting it to -current. To be honest,
I wasn't very careful about details such as locking, it was meant for
internal use only (and the fact that these details don't usually matter for
a normally terminating process). For a wider audience, it's better to tie
up the loose ends. I've spent a little bit of time to fix the potential
locking issue and also to cleanup some unused code, would you mind trying
out the new version? I've updated the diff files.

-luoqi