Malloc to a CGPoint Pointer throwing EXC_BAD_ACCESS when accessing
- by kdbdallas
I am trying to use a snippet of code from a Apple programming guide, and I am getting a EXC_BAD_ACCESS when trying to pass a pointer to a function, right after doing a malloc.
(For Reference: iPhone Application Programming Guide: Event Handling - Listing 3-6)
The code in question is really simple:
CFMutableDictionaryRef touchBeginPoints;
UITouch…