Ah... pity I did not think to check "user error" :) john -----Original Message----- From: k h [mailto:[email protected]] Sent: Friday, December 25, 2009 6:00 PM To: [email protected] Subject: Re: Freeing memory allocated by Base64::encode
> So if you do not have an allocator, the ::operator delete(ptr) should be > called, not simply delete ptr. Does that work? Either way, this seems > incorrectly documented, and a poor interface. > > I found the reason: it turns out that the ABIs used by MSVC in Debug and Release modes are incompatible, and the compiler does not appear to warn in any way when they are used together. Sorry I did not know that. It works fine as posted earlier once correctly linked.
