Authored by master-nevi
Committed by Justin R. Miller

Fix memory leak in RMShape by holding a weak reference to the map view.

If there are annotations backed by RMShape on the map view, the map view will not deallocate without this fix.
@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
44 44
45 NSMutableArray *points; 45 NSMutableArray *points;
46 46
47 - RMMapView *mapView; 47 + __weak RMMapView *mapView;
48 } 48 }
49 49
50 @synthesize scaleLineWidth; 50 @synthesize scaleLineWidth;