Fix memory allocator mismatch in iOS IAP logic.