== Quote from ABothe ([email protected])'s article > Hi everyone, > I don't know if it's a bug or not .. but D or at least its GC doesn't want to > free my allocated stuff! Also when I 'disable' the GC via GC.disable(); it > won't free it :-/ > byte[] asdf=new byte[50_000_000]; // OK a bit much---but it's an example value > GC.free(&asdf); // It doesn't work!! > delete asdf; // Also, without GC.free, doesn't work!!! > So...please give me a solution for this, D people :-D > --Alex
GC.free(cast(void*) asdf.ptr);
