RosettaCodeData/Task/Memory-allocation/Smalltalk/memory-allocation-2.st

6 lines
148 B
Smalltalk
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
handle := ExternalBytes unprotectedNew:size
...
handle := nil "or no longer reachable"
...
memory will be freed by the garbage collector eventually