Re: coremidi & codewarrior
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.