adium 5381:65f47ea0dc82: Fix the right leak.

commits at adium.im commits at adium.im
Fri Mar 8 13:35:25 UTC 2013


details:	http://hg.adium.im/adium/rev/65f47ea0dc82
revision:	5381:65f47ea0dc82
branch:		(none)
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Fri Mar 08 14:35:07 2013 +0100

Fix the right leak.

diffs (11 lines):

diff -r 6affacd536c2 -r 65f47ea0dc82 Plugins/Purple Service/AIPurpleCertificateTrustWarningAlert.m
--- a/Plugins/Purple Service/AIPurpleCertificateTrustWarningAlert.m	Thu Mar 07 14:07:43 2013 +0100
+++ b/Plugins/Purple Service/AIPurpleCertificateTrustWarningAlert.m	Fri Mar 08 14:35:07 2013 +0100
@@ -105,6 +105,7 @@
 			NSUInteger newCertHash = [(__bridge NSData *)data hash];
 			
 			if (oldCertHash == newCertHash) {
+				CFRelease(data);
 				query_cert_cb(true, userdata);
 				return;
 			}




More information about the commits mailing list