dip1000 and preview in combine to cause extra safety errors

Timon Gehr timon.gehr at gmx.ch
Thu Jun 9 01:04:06 UTC 2022


On 09.06.22 02:54, Timon Gehr wrote:
> On 09.06.22 02:44, Ali Çehreli wrote:
>> The society trusts C libraries, so do we.
> 
> free(cast(void*)0xDEADBEEF)
> 
> Seems legit.

I guess this does not actually make the point very well. Second try:

```d
free(new int);
```

Seems legit. The C library can do no wrong!


More information about the Digitalmars-d mailing list