Structure to remember memory allocations
Source position: intuition.pas line 1230
type TRemember = record |
||
NextRemember: PRemember; |
|
Next memory block in List |
RememberSize: LongWord; |
|
Size of Memory Block |
Memory: PByte; |
|
Pointer to the allocated memory |
end; |
This structure is used for remembering what memory has been allocated to date by a given routine, so that a premature abort or systematic exit can deallocate memory cleanly, easily, and completely
|
Allocate Memory with tracking to make freeing easy. |
|
|
Free memory allocated by calls to AllocRemember(). |