Fixes memory allocation crash with iOS 7 on device
Merge pull request #49 from alexmedearis/master

Fixes memory allocation crash with iOS 7 on device