changeset 918:6b400a0f5f70

Revering the dw_pixmap_destroy() dealloc/release change on the Mac. Need to figure out why it is leaking.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 22 Apr 2011 04:51:46 +0000
parents 8567c9ac089d
children 2ab67f71b50f
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Fri Apr 22 04:23:00 2011 +0000
+++ b/mac/dw.m	Fri Apr 22 04:51:46 2011 +0000
@@ -5995,7 +5995,7 @@
 void API dw_pixmap_destroy(HPIXMAP pixmap)
 {
     NSBitmapImageRep *image = (NSBitmapImageRep *)pixmap->image;
-    [image dealloc];
+    [image release];
     free(pixmap);
 }