Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CoreFoundation/Base.subproj/CFRuntime.c
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ CFTypeRef _CFNonObjCRetain(CFTypeRef cf) {

CFTypeRef CFRetain(CFTypeRef cf) {
if (NULL == cf) { CRSetCrashLogMessage("*** CFRetain() called with NULL ***"); HALT; }
if (cf) __CFGenericAssertIsCF(cf);
__CFGenericAssertIsCF(cf);
return _CFRetain(cf, false);
}

Expand All @@ -804,7 +804,7 @@ void _CFNonObjCRelease(CFTypeRef cf) {

void CFRelease(CFTypeRef cf) {
if (NULL == cf) { CRSetCrashLogMessage("*** CFRelease() called with NULL ***"); HALT; }
if (cf) __CFGenericAssertIsCF(cf);
__CFGenericAssertIsCF(cf);
_CFRelease(cf);
}

Expand Down