Commit 78d82aca authored by Carola Nitz's avatar Carola Nitz

added missing alloc to fix crash when deleting login information

parent 7c94c41e
Pipeline #101 failed with stage
in 0 seconds
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
- (BOOL)deleteFromKeychainWithError:(NSError *__autoreleasing _Nullable *)error - (BOOL)deleteFromKeychainWithError:(NSError *__autoreleasing _Nullable *)error
{ {
XKKeychainGenericPasswordItem *keychainItem = [XKKeychainGenericPasswordItem init]; XKKeychainGenericPasswordItem *keychainItem = [[XKKeychainGenericPasswordItem alloc] init];
keychainItem.service = self.keychainServiceIdentifier; keychainItem.service = self.keychainServiceIdentifier;
keychainItem.account = self.username; keychainItem.account = self.username;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment