| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
If I create my own CFAllocator, it might be unavoidable that some objects are created off it. Now these objects might be retained so it's probably outside my scope to determine, when to get rid of the CFAllocator. There is a "retain"/"release" call back... Should my CFAllocator look for a release count of zero and release itself or is this done my CoreFoundation automatically ?
CF will retain/release the allocator it's been given when it allocates a CF object using an allocator. This is not true for arbitrary memory allocated with an allocator though.
Ali
| References: | |
| >Re: Who is releasing my CFAllocator? (From: Ali Ozer <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.