diff --git a/.travis.yml b/.travis.yml index 2ad7b16c..644729b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,4 @@ osx_image: xcode8 env: TERM=dumb SHLVL=0 git: submodules: true -script: xcodebuild -workspace MasterPassword.xcworkspace -scheme 'MasterPassword iOS (App Store)' -sdk iphonesimulator +script: xcodebuild -workspace MasterPassword.xcworkspace -scheme 'MasterPassword iOS (App Store)' -configuration 'AdHoc-iOS' -sdk iphonesimulator diff --git a/MasterPassword/ObjC/MPAlgorithmV0.m b/MasterPassword/ObjC/MPAlgorithmV0.m index 5843a690..fe5d5ea2 100644 --- a/MasterPassword/ObjC/MPAlgorithmV0.m +++ b/MasterPassword/ObjC/MPAlgorithmV0.m @@ -362,7 +362,7 @@ NSOperationQueue *_mpwQueue = nil; name.UTF8String, type, (uint32_t)counter, variant, context.UTF8String, [self version] ); if (contentBytes) { content = [NSString stringWithCString:contentBytes encoding:NSUTF8StringEncoding]; - mpw_freeString( contentBytes ); + mpw_free_string( contentBytes ); } }];