--- import core.memory; A *aptr; __delete(aptr); --- This differs from both the documentation of __delete and the old delete behaviour which is to return with no effect.
@ibuclaw created dlang/druntime pull request #3745 "Issue 22779 - druntime: Calling __delete with null pointer-to-struct segfaults" mentioning this issue: - Issue 22779 - druntime: Calling __delete with null pointer-to-struct segfaults https://github.com/dlang/druntime/pull/3745
dlang/druntime pull request #3745 "fix Issue 22779 - druntime: Calling __delete with null pointer-to-struct segfaults" was merged into stable: - ed0e0dbf706dd0b9aaab6b47ad9fe61b48524cc0 by Iain Buclaw: fix Issue 22779 - druntime: Calling __delete with null pointer-to-struct segfaults https://github.com/dlang/druntime/pull/3745
dlang/druntime pull request #3764 "merge stable" was merged into master: - cc1f52689f4091cb3eb608659b71c0d9a51415ff by Iain Buclaw: fix Issue 22779 - druntime: Calling __delete with null pointer-to-struct segfaults https://github.com/dlang/druntime/pull/3764