free causes exception

Daniel Kozak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jan 26 07:28:34 PST 2016


V Tue, 26 Jan 2016 15:24:00 +0000
Igor via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
napsáno:

> On Tuesday, 26 January 2016 at 14:48:48 UTC, Daniel Kozak wrote:
> > V Tue, 26 Jan 2016 14:20:29 +0000
> > Igor via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
> > napsáno:
> >  
> >> [...]  
> >
> > core.stdc.stdlib.free(cast(void *)this);  
> 
> I still get an exception:
> 
> Exception thrown at 0x00007FF6C7CA3700 in test.exe: 0xC0000005: 
> Access violation reading location 0xFFFFFFFFFFFFFFFF.

Can you post full code?



More information about the Digitalmars-d-learn mailing list