Skip to content

Commit 8a83ddf

Browse files
committed
-
1 parent 09fe8a9 commit 8a83ddf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Plugins/iOS/CloudKit/Native/CloudKit.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
CKRecord* InitCKRecord(const char* recordType){
77
CKRecord* record = [[CKRecord alloc] initWithRecordType:[NSString stringWithUTF8String:recordType]];
8-
return [record retain]; // 防止指针被回收
8+
return record; // 防止指针被回收
99
}
1010

1111
void ReleaseCKRecord(CKRecord* handle){
12-
delete handle;
12+
1313
}
1414
}

0 commit comments

Comments
 (0)