Testing using MBS 15.2pr7 in 32 bit build:

The following code appears to leak the entire picture object, e.g. in this case 
64MB:

  dim w,h as integer
  w = 4096
  h= 4096
  dim p as new picture (w,h)  // new-style 32 bit picture, App.UseGDI+ must be 
True
  p.graphics.foreColor = &cFF0000
  p.graphics.fillrect 0,0,w,h
  
  
  // Show memory leak in PictureMBS
  dim pSrc as PictureMBS
  pSrc = new PictureMBS(p, p.HasAlphaChannel) 

There is no leak on Cocoa builds, and if we are using old-style pictures in 
Win32 builds then p.HasAlphaChannel is false, and there is also no leak.

Can this be fixed?

I'll email you a demo app off-list

Mike
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to