Fixed the leaks
Merge pull request #9 from karencatearabit/cm-4

Fixed the leaks