Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Retained instance variables were being leaked when classes were being…

… deallocated.
  • Loading branch information...
commit 7752179ad73b11c8ebf7c585a7faa183870791bc 1 parent b2e842d
@aidansteele aidansteele authored
View
5 REVClusterMap/REVClusterMap/REVClusterMapView.m
@@ -41,6 +41,11 @@ - (id) initWithFrame:(CGRect)frame
}
+- (void)dealloc
+{
+ [annotationsCopy release];
+ [super dealloc];
+}
-(MKOverlayView *)mapView:(MKMapView *)mapView viewForOverlay:(id <MKOverlay>)overlay
{
View
8 REVClusterMap/REVClusterMap/REVClusterPin.m
@@ -21,4 +21,12 @@ - (NSUInteger) nodeCount
return [nodes count];
return 0;
}
+
+- (void)dealloc
+{
+ [title release];
+ [subtitle release];
+ [nodes release];
+ [super dealloc];
+}
@end
Please sign in to comment.
Something went wrong with that request. Please try again.