adium 4269:244a4f3b0a4b: don't leak though...

commits at adium.im commits at adium.im
Sat Oct 29 21:12:48 UTC 2011


details:	http://hg.adium.im/adium/rev/244a4f3b0a4b
revision:	4269:244a4f3b0a4b
branch:		(none)
author:		Stephen Holt <sholt at adium.im>
date:		Sat Oct 29 14:12:40 2011 -0700

don't leak though...

diffs (12 lines):

diff -r 342f1dec6aa6 -r 244a4f3b0a4b Plugins/Dual Window Interface/AIMessageViewController.m
--- a/Plugins/Dual Window Interface/AIMessageViewController.m	Sat Oct 29 14:11:42 2011 -0700
+++ b/Plugins/Dual Window Interface/AIMessageViewController.m	Sat Oct 29 14:12:40 2011 -0700
@@ -1134,7 +1134,7 @@
 - (void)_showUserListView
 {
 	if (chat.isGroupChat && view_userList.superview == nil) {
-		[splitView_verticalSplit addSubview:view_userList];
+		[splitView_verticalSplit addSubview:[view_userList autorelease]];
 	}
 	[self updateUserCount];
 	[userListController reloadData];




More information about the commits mailing list