http://qs321.pair.com?node_id=105126


in reply to Re: Tracking Memory Leaks
in thread Tracking Memory Leaks

perrin++

Just to be clear, the memory used directly by the lexical is not freed but if, for example, the lexical contains the last reference to something, then that something will be destroyed and its memory freed when the lexical's scope is left (or when the last reference to the lexical is destroyed). So this is mostly a problem when dealing with long strings rather than objects.

And the bug with closures never being freed has been found but I don't think any Perls have been released that contain this fix.

        - tye (but my friends call me "Tye")