Skip to content

Lifetime management issues for C types

There are several lifetime management issues when converting from C++ types to C types. Most notably, when calling release() on a managed_ctype, we should also release any internal managed_ctypes owned by the object. Unfortunately, we cannot do that at this time because the ADM_*_create() functions and ADM_*_destroy() functions are not consistent when copying/destroying information from the user.