FFI ExternalAddress and freeing memory
Andreas Raab
andreas.raab at gmx.de
Sat Apr 16 21:37:12 UTC 2005
> If I allocate external memory via ExternalAddress allocate: aNumber
> and the object is GCed. What happens to the allocated memory?
Nothing.
> But what If I had no chance to call
> it before the object goes out off scope?
Then, my friend, you have something that's called a memory leak. Welcome
to the wonderful world of manual memory management.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|