fixed memory leaks
Merge branch 'master' of https://github.com/eudyptula/Encourage
Merge branch 'master' of https://github.com/eudyptula/Encourage