Asan detects heap-use-after-free, see D147892. This reverts commit 4fc19035. This reverts commit 668045eb.