[Mapserver-users] Re: [Mapserver-dev] Perl Mapscript 4 $image->free() bug

Eric Bridger eric at gomoos.org
Tue May 4 22:39:46 EDT 2004

At 11:15 PM 05/04/2004 +0100, Sean Gillies wrote:
>There should be no need to free images.  I've made changes to mapscript
>so that Perl's garbage collector sweeps up all instances of imageObj
>and calls the DESTROY method (known as ~imageObj() in mapscript.i).
>In fact, you shouldn't have to explicitly free any objects anymore.
>Sorry that I haven't made this clear in the development docs.
>If you don't want to wait for garbage collection, undef the instance
>rather than calling its free() method.

Excellent Sean. Thanks.


More information about the mapserver-users mailing list