adium 5755:034ca4e156af: Need to make a copy of this string.
commits at adium.im
commits at adium.im
Sun Nov 3 02:59:13 UTC 2013
details: http://hg.adium.im/adium/rev/034ca4e156af
revision: 5755:034ca4e156af
branch: adium-1.5.9
author: Frank Dowsett <wixardy at adium.im>
date: Sat Nov 02 22:50:40 2013 -0400
Need to make a copy of this string.
diffs (12 lines):
diff -r 030c8a1b34e1 -r 034ca4e156af Plugins/Twitter Plugin/AITwitterAccount.m
--- a/Plugins/Twitter Plugin/AITwitterAccount.m Thu Oct 31 22:46:09 2013 +0100
+++ b/Plugins/Twitter Plugin/AITwitterAccount.m Sat Nov 02 22:50:40 2013 -0400
@@ -1604,7 +1604,7 @@
range:NSMakeRange(0, mutableMessage.length)];
}];
- NSString *message = [mutableMessage string];
+ NSString *message = [[[mutableMessage string] copy] autorelease];
BOOL replyTweet = (replyTweetID.length > 0);
BOOL tweetLink = (tweetID.length && userID.length);
More information about the commits
mailing list