Lines Matching refs:new_node
1452 pldm_entity_node **new_node) in entity_association_tree_copy() argument
1460 *new_node = malloc(sizeof(pldm_entity_node)); in entity_association_tree_copy()
1461 if (!*new_node) { in entity_association_tree_copy()
1465 (*new_node)->parent = org_node->parent; in entity_association_tree_copy()
1466 (*new_node)->entity = org_node->entity; in entity_association_tree_copy()
1467 (*new_node)->association_type = org_node->association_type; in entity_association_tree_copy()
1468 (*new_node)->remote_container_id = org_node->remote_container_id; in entity_association_tree_copy()
1469 (*new_node)->first_child = NULL; in entity_association_tree_copy()
1470 (*new_node)->next_sibling = NULL; in entity_association_tree_copy()
1473 &((*new_node)->first_child)); in entity_association_tree_copy()
1479 &((*new_node)->next_sibling)); in entity_association_tree_copy()
1481 entity_association_tree_destroy((*new_node)->first_child); in entity_association_tree_copy()
1488 free(*new_node); in entity_association_tree_copy()
1489 *new_node = NULL; in entity_association_tree_copy()