Skip to content

Commit 7677f01

Browse files
authored
Merge pull request #2817 from valeriyvan/CFRuntimeLeak
2 parents 3057677 + bb09cbd commit 7677f01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CoreFoundation/Base.subproj/CFRuntime.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,7 @@ const char *_NSPrintForDebugger(void *cf) {
17271727
if (!desc) {
17281728
return "<no description>";
17291729
}
1730+
CFRelease(desc);
17301731
const char *cheapResult = CFStringGetCStringPtr((CFTypeRef)cf, kCFStringEncodingUTF8);
17311732
if (cheapResult) {
17321733
return cheapResult;

0 commit comments

Comments
 (0)