Different behaviour of new and malloc
Namespace
rswhite4 at googlemail.com
Sun Apr 14 05:21:30 PDT 2013
Hehe... I found this in my getPixel method after the allocation
of the pixel memory:
scope(exit) delete pixels;
Do not know what I was thinking.
My fault. :)
More information about the Digitalmars-d-learn
mailing list