Authored by Justin R. Miller

fixes #63: memory leak

@@ -567,7 +567,7 @@ RMTilePoint RMInteractiveSourceNormalizedTilePointForMapView(CGPoint point, RMMa @@ -567,7 +567,7 @@ RMTilePoint RMInteractiveSourceNormalizedTilePointForMapView(CGPoint point, RMMa
567 if (data && [data objectForKey:keyName]) 567 if (data && [data objectForKey:keyName])
568 { 568 {
569 NSData *jsonData = [NSJSONSerialization dataWithJSONObject:[data objectForKey:keyName] options:0 error:nil]; 569 NSData *jsonData = [NSJSONSerialization dataWithJSONObject:[data objectForKey:keyName] options:0 error:nil];
570 - NSString *jsonString = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding]; 570 + NSString *jsonString = [[[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding] autorelease];
571 571
572 return [NSDictionary dictionaryWithObjectsAndKeys:keyName, @"keyName", 572 return [NSDictionary dictionaryWithObjectsAndKeys:keyName, @"keyName",
573 jsonString, @"keyJSON", 573 jsonString, @"keyJSON",