Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

Thread: Memory leak
View Single Post
Old 08-30-2008, 02:58 AM   #2 (permalink)
ChriB
New Member
 
Join Date: Apr 2008
Location: Germany
Posts: 154
Default

The docs say:

Quote:
URLWithString:
Creates and returns an NSURL object initialized with a provided string.

+ (id)URLWithString: (NSString *)URLString

So isn't that auto-allocating and initializing the object? That way a release is needed, or am I wrong?
ChriB is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,326
Threads: 39,123
Posts: 171,540
Top Poster: smasher (2,577)
Welcome to our newest member, danuff
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:03 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.