adium 2363:2dcf62dd1e08: More probably unnecessary releases, sin...

commits at adium.im commits at adium.im
Thu May 28 04:44:33 UTC 2009


details:	http://hg.adium.im/adium/rev/2dcf62dd1e08
revision:	2363:2dcf62dd1e08
author:		Zachary West <zacw at adium.im>
date:		Thu May 28 00:44:28 2009 -0400

More probably unnecessary releases, since the entire thing is going to get destroyed shortly thereafter.

diffstat:

 Plugins/Image Uploading Plugin/AIPicImImageUploader.m |  4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r da445a448b9f -r 2dcf62dd1e08 Plugins/Image Uploading Plugin/AIPicImImageUploader.m
--- a/Plugins/Image Uploading Plugin/AIPicImImageUploader.m	Thu May 28 00:40:30 2009 -0400
+++ b/Plugins/Image Uploading Plugin/AIPicImImageUploader.m	Thu May 28 00:44:28 2009 -0400
@@ -73,14 +73,11 @@
 	} else {
 		[uploader errorWithMessage:AILocalizedString(@"Unable to upload", nil) forChat:chat];
 	}
-	
-	[dataUploader release]; dataUploader = nil;
 }
 
 - (void)uploadFailed:(id)context
 {
 	[uploader errorWithMessage:AILocalizedString(@"Unable to upload", nil) forChat:chat];
-	[dataUploader release]; dataUploader = nil;
 }
 
 #pragma mark Image upload
@@ -125,7 +122,6 @@
 - (void)cancel
 {
 	[dataUploader cancel];
-	[dataUploader release]; dataUploader = nil;
 }
 
 #pragma mark Response parsing




More information about the commits mailing list