Skip to content

Commit c7108c4

Browse files
committed
2 parents 8c40268 + fbd3466 commit c7108c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CoreFoundation/Base.subproj/CFUtilities.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ static CFStringRef copySystemVersionPath(CFStringRef suffix) {
309309
if (!simulatorRoot) simulatorRoot = "/";
310310
return CFStringCreateWithFormat(kCFAllocatorSystemDefault, NULL, CFSTR("%s%@"), simulatorRoot, suffix);
311311
#else
312-
return suffix;
312+
return CFStringCreateCopy(kCFAllocatorSystemDefault, suffix);
313313
#endif
314314
}
315315

Foundation/NSCalendar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ public class NSDateComponents : NSObject, NSCopying, NSSecureCoding {
10891089
internal var _calendar: NSCalendar?
10901090
internal var _timeZone: NSTimeZone?
10911091
internal var _values = [Int](count: 19, repeatedValue: NSDateComponentUndefined)
1092-
internal override init() {
1092+
public override init() {
10931093
super.init()
10941094
}
10951095

0 commit comments

Comments
 (0)