Not a Cocoa topic but I am thinking the smart guys here can show me
the error of my ways.
I do this:
BYTE *destination = (BYTE*)malloc(size);
... do stuff
free(destination);
The free() gives this error
malloc: *** error for object 0x21568580: Non-aligned pointer being
freed (2)
How can I avoid this?
-koko
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com