|Subject:||Imager::Screenshot - doesn't free image memory|
With "$img = screenshot(display=>$disp)" memory for the $img is not freed. I have to run "$img->DESTROY()" to have no memory leaks. In the documentation there is no information about this, so I suppose it is not the right behavior. Tested on Debian 3.1 with perl 5.8.4, Imager v0.55 and Imager::Screenshot v0.004.