[FIX] crash when detecting a crash report
[FIX] some memory leaks reported by clang analyser on xcode 5
Merge branch 'feature/MemoryManagement' into develop