• 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
Re: coremidi & codewarrior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coremidi & codewarrior


  • Subject: Re: coremidi & codewarrior
  • From: Doug Wyatt <email@hidden>
  • Date: Fri, 22 Feb 2002 14:08:25 -0800

On Thursday, February 21, 2002, at 07:05 , Jeremy@Verizon wrote:
CFAllocatorDeallocate(kCFAllocatorDefault, (void *)theURL);
CFAllocatorDeallocate(kCFAllocatorDefault, (void *)path);

In your example this looks okay, but in general I would get in the habit of using CFRelease() instead of CFAllocatorDeallocate(), so that if you pass the object to a function which retains a reference to it, you won't be disposing of an object that someone else still thinks is valid.

Doug

--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden http://www.sonosphere.com

"There is no way to peace. Peace is the way."
-- A.J. Muste
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: coremidi & codewarrior (From: "Jeremy@Verizon" <email@hidden>)

  • Prev by Date: Re: [long] Capturing sound to a QT Movie
  • Next by Date: Hardware
  • Previous by thread: Re: coremidi & codewarrior
  • Next by thread: cfmlateimport help
  • Index(es):
    • Date
    • Thread