[Gc] double frees

Hans Van den Eynden hans.vandeneynden at student.kuleuven.ac.be
Sun Nov 14 05:35:04 PST 2004


On Wed, 10 Nov 2004, MenTaLguY wrote:

> If your code does avoid freeing objects explicitly, and your application
> or compiler cannot be tricked into hiding information from the collector,
> then you are at least safe from double frees or dereferencing dangling
> pointers."

How does the GC prevent against double frees from GC_FREE() and 
delete??? Are there some bytes set??




More information about the Gc mailing list