Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=78285

--- shadow/78285        2006-05-04 05:26:18.000000000 -0400
+++ shadow/78285.tmp.9612       2006-05-04 05:26:18.000000000 -0400
@@ -0,0 +1,24 @@
+Bug#: 78285
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Graphics.DrawIcon memory leak ?
+
+Graphics.DrawIcon creates a bitmap for an icon with Icon.ToBitmap() but it
+doesn't dispose the bitmap (Icon.ToBitmap always creates a new bitmap).
+
+Though, for performance reasons, it would be better to keep a reference of
+the bitmap in Icon and only create a new bitmap if the bitmap is null.
+Icons are not that big so a few more KB shouldn't matter...
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to