Saturday, September 28, 2013

[NSString stringWithUTF8String memory leaks

Database uses FMDB found [NSString stringWithUTF8String: c] there is a memory leak
But do not know how to deal online for a long time there is no clear solution? How to ask the great God who deal
[NSString stringWithUTF8String memory leaks
Reply:
This question has not encountered one,
Personal feeling you can completely circumvent this problem ah. char type not directly replace string okay?
Reply:
With FMDB a long time, did not find the problem
Reply:
Run about as long as you use the instruments that are reported leaked query
Reply:
May be your string is released. Find its address. Look pass the Senate, it is the memory address can be accessed Road

No comments:

Post a Comment