• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
am i leaking memory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

am i leaking memory


  • Subject: am i leaking memory
  • From: Theodore Petrosky <email@hidden>
  • Date: Sat, 17 Jan 2004 16:21:12 -0800 (PST)

I really think I have most of these memory alloc
questions under my belt. just one more.....

I have a class onject that I init and with accessor
methods I access the instance variables. I have both
NSString, float, and int(s) in the object. When I
dealloc the object, I release the NSStrings and
NSArrays but do nothing with the floats and ints.
Isn't this a contradiction? Shouldn't I be 'releasing'
these elements also?

Basically, am I leaking by doing nothing with these
elements?

Thanks for the time.

Ted



__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: am i leaking memory
      • From: Jonathan Jackel <email@hidden>
  • Prev by Date: Re: How to convince company I should switch to
  • Next by Date: Re: am i leaking memory
  • Previous by thread: Re: How to convince company I should switch to
  • Next by thread: Re: am i leaking memory
  • Index(es):
    • Date
    • Thread