Hi, I'm practicing drawing polyline on the Map. I've adopted Sample code from download here.
Here is the part that I got memory warning when I do build->Analysis
MKMapRect routeRect = MKMapRectMake(southWestPoint.x, southWestPoint.y, northEastPoint.x - southWestPoint.x, northEastPoint.y - southWestPoint.y);
// clear the memory allocated earlier for the points
free(pointArr);
Debugger Window prompt error
The left operand of '-' is a garbage value
Uhm I don't get it. Why is this happened?
Is this Critical Error?
How to fix it?
Thank you.