Can't free memory allocated in a C DLL?

Kagamin spam at here.lot
Fri Aug 5 11:51:18 PDT 2011


Johannes Pfau Wrote:

> How is that done? GlobalFree?

HeapFree. msvcrt uses system functionality for memory management. The problem is it can create a separate heap and not use the default process heap probably in order to free memory easily on unload: it just destroys the heap and everything is freed. mingw builds usually use system built-in msvcrt.dll that uses the process default heap AFAIK.


More information about the Digitalmars-d mailing list