adium 5083:cc9e87f478d8: I see no reason this dictionary should ...

commits at adium.im commits at adium.im
Mon Sep 17 21:52:30 UTC 2012


details:	http://hg.adium.im/adium/rev/cc9e87f478d8
revision:	5083:cc9e87f478d8
branch:		(none)
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Mon Sep 17 23:42:21 2012 +0200

I see no reason this dictionary should be released when calling this.

This *might* be related to the mdworker crashes.

diffs (12 lines):

diff -r fc7f6bca9769 -r cc9e87f478d8 Other/Adium Spotlight Importer/GetMetadataForFile.m
--- 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);
 		}




More information about the commits mailing list