[Mapserver-users] Re: [Mapserver-dev] Perl Mapscript 4 $image->free() bug
sgillies at frii.com
Wed May 5 16:26:46 EDT 2004
How about do nothing in 4.2 and go away entirely in 4.3?
Steve Lime wrote:
> I assume then that we should ditch the method in mapscript.i or more
> likely make it benign...
>>>>Sean Gillies <sgillies at frii.com> 5/4/2004 4:31:48 PM >>>
> There should be no need to free images. I've made changes to
> 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.
More information about the mapserver-users