Fix iOS crash on freeing unallocated memory