mstorsjo wrote: Indeed, not a regression, but use-after-free is essentially the same as the code having UB and possibly crashing anyway, so I think it qualifies. Let's try at least. https://github.com/llvm/llvm-project/pull/228607