Authored by Hal Mueller

added -dealloc for RMLayerSet and RMMarkerManager. Fixes Issue 45, Issue 53.

... ... @@ -42,6 +42,15 @@
return self;
}
- (void) dealloc
{
[set release];
set = nil;
mapContents = nil;
[super dealloc];
}
- (void)correctScreenPosition: (CALayer *)layer
{
if ([layer conformsToProtocol:@protocol(RMMovingMapLayer)])
... ...
... ... @@ -44,6 +44,12 @@
return self;
}
- (void)dealloc
{
contents = nil;
[super dealloc];
}
///////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark
#pragma mark Adding / Removing / Displaying Markers
... ...