Possible memory leak #1

Open
eyalc82 opened this Issue Feb 22, 2012 · 0 comments

Projects

None yet

1 participant

@eyalc82
eyalc82 commented Feb 22, 2012

Hey thanks for sharing this :)

I think there is a memory leak in method

  • (void)loadVisibleSectionTitlesForSectionRange:(CHSectionRange)range

You call [sectionHeader release] in the end of this method even for sectionHeader you get from the delegate..
I think you should call release only for sectionHeader you allocated no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment