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

View Single Post
Old 06-05-2009, 02:04 PM   #11 (permalink)
jsd
at this moment
 
Join Date: Mar 2009
Location: San Francisco, CA
Posts: 870
Default

Since you never sent any of those objects an autorelease message, they will NOT be released when the pool drains. You leaked all three objects.

You should use [myOwnPool drain] btw unless you know for sure you will never reuse any of that code in Mac OS with garbage collection. On iPhone, release & drain are equivalent though... for now anyway.
jsd is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,258
Threads: 39,041
Posts: 171,229
Top Poster: smasher (2,573)
Welcome to our newest member, bburd
Powered by vBadvanced CMPS v3.1.0

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