On Apr 11, 2008, at 3:50 PM, Daniel Miller wrote: > BTW, I'm not sure if I'm doing the memory management correctly, > especially with the values returned from CFDictionaryGetValue (it > might need a CFRelease in there). Could someone double-check me on > that please?
The general CF rule is that if you use a function named *Get*, then you don't need to CFRelease; if you use a function named *Copy* or *Create*, you do. So, what you've written looks fine. -- Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig