diff options
author | Grant Gayed <ggayed> | 2009-04-27 15:29:54 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2009-04-27 15:29:54 +0000 |
commit | e55a267ee375791889be3a10ddeeca5810d522ad (patch) | |
tree | e748e42b7009de0de061e6e2728882e7f44d6b34 /bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse | |
parent | 51f1bfac25777ee7d51eb8b157552df0d5fd3c2c (diff) | |
download | eclipse.platform.swt-e55a267ee375791889be3a10ddeeca5810d522ad.tar.gz eclipse.platform.swt-e55a267ee375791889be3a10ddeeca5810d522ad.tar.xz eclipse.platform.swt-e55a267ee375791889be3a10ddeeca5810d522ad.zip |
fix malloc() -> free()
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java index 8d27d1f6bd..4f8dbebfab 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java @@ -439,7 +439,7 @@ public boolean contains(float x, float y, GC gc, boolean outline) { OS.CGContextStrokePath(context); OS.CGContextRelease(context); OS.memmove(buffer, pixel, 4); - OS.malloc(pixel); + OS.free(pixel); return buffer[0] != 0xFFFFFFFF; } else { NSPoint point = new NSPoint(); |