adium/adium

Parents fc7f6bca9769
Children 1210b8539423
I see no reason this dictionary should be released when calling this.

This *might* be related to the mdworker crashes.
--- a/Other/Adium Spotlight Importer/GetMetadataForFile.m Thu Sep 13 21:11:49 2012 -0400
+++ b/Other/Adium Spotlight Importer/GetMetadataForFile.m Mon Sep 17 23:42:21 2012 +0200
@@ -62,7 +62,7 @@
if (CFStringCompare(contentTypeUTI, (CFStringRef)@"com.adiumx.htmllog", kCFCompareBackwards) == kCFCompareEqualTo) {
success = GetMetadataForHTMLLog((__bridge NSMutableDictionary *)attributes, (__bridge NSString *)pathToFile);
} else if (CFStringCompare(contentTypeUTI, (CFStringRef)@"com.adiumx.xmllog", kCFCompareBackwards) == kCFCompareEqualTo) {
- success = GetMetadataForXMLLog((__bridge_transfer NSMutableDictionary *)attributes, (__bridge NSString *)pathToFile);
+ success = GetMetadataForXMLLog((__bridge NSMutableDictionary *)attributes, (__bridge NSString *)pathToFile);
} else {
NSLog(@"We were passed %@, of type %@, which is an unknown type",pathToFile,contentTypeUTI);
}