The IP should use the memory tree passed in as an argument to OAIP_schema for allocating any memory required for schema processing. Do not free the memory tree that is passed in as an argument. If it needs to allocate any memory for schema caching, it should use the memory tree reference saved at the connection handle.