mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Fixes 244692
Fixing a GC leak that would occur on non-64-bit machines.
This commit is contained in:
1 parent
0fa24ce313
commit
95f9658a7e
1 file changed
+1
-1
@@ -132,7 +132,7 @@
|
||||
return [[NSUserDefaults standardUserDefaults] objectForKey:defaultName];
|
||||
|
||||
CFPropertyListRef obj = CFPreferencesCopyAppValue((CFStringRef)defaultName, (CFStringRef)[bundle bundleIdentifier]);
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED > 1050
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED > 1050
|
||||
return [NSMakeCollectable(obj) autorelease];
|
||||
#else
|
||||
return [(id)obj autorelease];
|
||||
|
||||
Reference in new issue
Block a user