A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
stringwithformat leak when add this string in an array
Joined: Aug 11, 2010
Nov 03, 2010 03:33:10
when i add [NSString stringWithFormat:@"abc"]
in array leak tool gives me a leak there, can any body tell me the solution?
Joined: Feb 05, 2001
Nov 03, 2010 18:00:55
Actually, I think it will always be a leak. And there are places that say it is better to use [[NSString alloc] initWithFormat] instead and remember to call release yourself.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
Don't get me started about those stupid
subject: stringwithformat leak when add this string in an array
a VB Question
what is string an object or literal ?
I/O unhandle Streams
doubt in String
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015