adium/adium

Fix an ARC crash when parsing chat logs.

2012-09-12, Thijs Alkemade
19f59503d22d
Parents 6958e72cf596
Children d474b6ea9184
Fix an ARC crash when parsing chat logs.
--- a/Other/Adium Spotlight Importer/GetMetadataForFile.m Sun Sep 09 12:24:39 2012 -0400
+++ b/Other/Adium Spotlight Importer/GetMetadataForFile.m Wed Sep 12 00:49:10 2012 +0200
@@ -134,7 +134,7 @@
} else if (CFEqual(contentTypeUTI, CFSTR("com.adiumx.xmllog"))) {
result = CopyTextContentForXMLLogData(fileData);
}
- return (__bridge CFStringRef)result;
+ return CFBridgingRetain(result);
}
/*!