Managing References

Open Directory allocates Directory Service references, such as Open Directory node references, open record references, and attribute list value references, and passes them to the appropriate plug-in as part of a process request. Plug-ins can use these references to keep track of their own data. When a reference becomes invalid, such as when an Open Directory node is closed, the plug-in must free any memory that is associated with the now invalid reference.