我遇到内存泄漏,任何人都可以在函数stringWithCString
中找到内存泄漏吗?stringWithCstring
SomeView *detailViewController = [[SomeView alloc] initWithNibName:@"SomeView" bundle:nil];
detailViewController.test = [NSString stringWithCString:"abc" encoding:UTF8_ENCODING];
SomeView 中测试变量的属性是
@property (nonatomic,copy) NSString* test;
我的财产申报正确吗?