https://llvm.org/bugs/show_bug.cgi?id=28744
Bug ID: 28744
Summary: of memory leak
Product: clang
Version: 3.8
Hardware: Macintosh
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
#import <UIKit/UIAlertView.h>
@implementation UIAlertViewLeakTest
- (void) leakTest{
UIAlertView *alert = [[UIAlertView alloc]initWithTitle:nil
message:@"Q_Wi-Fi已断开,是否继续使用2G/3G/4G网络下载视频?" delegate:self
cancelButtonTitle:@"Q_No" otherButtonTitles:@"Q_Yes",nil, nil]; // retain
count is +1 and not release
UIAlertView *tmp = alert;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs