Skip to content

Commit d19d944

Browse files
committed
dup: don't forget to dup the symmetric_subtree flag
Signed-off-by: Brice Goglin <[email protected]>
1 parent eb49ec3 commit d19d944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hwloc/topology.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,7 @@ hwloc__duplicate_object(struct hwloc_obj *newobj,
625625
newobj->type = src->type;
626626
newobj->os_index = src->os_index;
627627
newobj->gp_index = src->gp_index;
628+
newobj->symmetric_subtree = src->symmetric_subtree;
628629

629630
if (src->name)
630631
newobj->name = strdup(src->name);

0 commit comments

Comments
 (0)