# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1351301372 0 # Node ID df7f3967c21e968871f10e6a7b9f7f7669edc230 # Parent 213420512084d8831cac6a0f7c250e1b0d306364 Fixed crash on Mac due to autoreleasing images not displayed. diff -r 213420512084 -r df7f3967c21e mac/dw.m --- 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;