From 3c563e1b29e10b2f563d006d1ec506e96893d85f Mon Sep 17 00:00:00 2001 From: YauzZ Date: Thu, 8 May 2014 17:42:23 +0800 Subject: [PATCH] Update OpenUDID.m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 内存泄漏 --- OpenUDID.m | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenUDID.m b/OpenUDID.m index 904066e..dc2ae6b 100644 --- a/OpenUDID.m +++ b/OpenUDID.m @@ -391,6 +391,7 @@ + (NSString*) valueWithError:(NSError **)error { userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@"OpenUDID succesfully retrieved",@"description", nil]]; } kOpenUDIDSessionCache = [openUDID retain]; + CFRelease(appUID); return kOpenUDIDSessionCache; }