Re: Missing CFRetain in AUVParameter.cpp?
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.