changeset 1825:df7f3967c21e

Fixed crash on Mac due to autoreleasing images not displayed.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 27 Oct 2012 01:29:32 +0000
parents 213420512084
children 10c59bb2c47f
files mac/dw.m
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Fri Oct 26 08:37:45 2012 +0000
+++ b/mac/dw.m	Sat Oct 27 01:29:32 2012 +0000
@@ -9149,7 +9149,6 @@
             if(pixmap)
             {
                 [object setImage:pixmap];
-                [pixmap release];
             }
             /* If we changed the bitmap... */
             Item *item = _box_item(handle);
@@ -9219,7 +9218,6 @@
                 /* Queue a redraw on the top-level window */
                 _dw_redraw([object window], TRUE);
             }
-            [bitmap release];
         }
     }
     DW_LOCAL_POOL_OUT;