You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I want to thank all the contributors to this great project !
I believe there is a memory leak in the OCAlgorithms.m file raised also by xcode clang analyser.
Line 137 : // check group if (grouped && [annotation respondsToSelector:@selector(groupTag)]) { if (![clusterAnnotation.groupTag isEqualToString:((id <OCGrouping>)annotation).groupTag]) continue; } // add annotation to the cluster [clusterAnnotation addAnnotation:annotation]; [clusterAnnotation release];
There should be [clusterAnnotation release] before the continue instruction
Thanks again for your great job!
Yunus
The text was updated successfully, but these errors were encountered:
Hi,
First I want to thank all the contributors to this great project !
I believe there is a memory leak in the OCAlgorithms.m file raised also by xcode clang analyser.
Line 137 :
// check group if (grouped && [annotation respondsToSelector:@selector(groupTag)]) { if (![clusterAnnotation.groupTag isEqualToString:((id <OCGrouping>)annotation).groupTag]) continue; } // add annotation to the cluster [clusterAnnotation addAnnotation:annotation]; [clusterAnnotation release];
There should be
[clusterAnnotation release]
before thecontinue
instructionThanks again for your great job!
Yunus
The text was updated successfully, but these errors were encountered: