• 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: Missing CFRetain in AUVParameter.cpp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing CFRetain in AUVParameter.cpp?


  • Subject: Re: Missing CFRetain in AUVParameter.cpp?
  • From: Airy André <email@hidden>
  • Date: Mon, 16 Jun 2003 21:47:09 +0200

How do you create the array you are setting in your GetParameterValueStrings methods ?
Do you call CFArrayCreate or are you always returning a pointer to a privately own CFArrayRef ? That could be the problem. You are supposed to create a new CFArrayRef each time or you should
call CFRetain on it every time you return it.

Airy

Le lundi, 16 juin 2003, ` 20:29 Europe/Paris, Robert Grant a icrit :

I'm getting a crash in ~AUVParameter() when it's releasing mNamedParams:

if (mNamedParams)
CFRelease (mNamedParams);

However I cannot find a place where this is being retained within AUVParameter (except in the assignment operator which makes sense for additional retains but not the first one). I can't believe that I'm the first to encounter this but I don't understand the code as it stands...

Robert.
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Missing CFRetain in AUVParameter.cpp?
      • From: Robert Grant <email@hidden>
References: 
 >Missing CFRetain in AUVParameter.cpp? (From: Robert Grant <email@hidden>)

  • Prev by Date: Re: Link error MusicPlayer API's
  • Next by Date: Re: Link error MusicPlayer API's
  • Previous by thread: Missing CFRetain in AUVParameter.cpp?
  • Next by thread: Re: Missing CFRetain in AUVParameter.cpp?
  • Index(es):
    • Date
    • Thread