Skip to content

Commit

Permalink
windows: fix a leak in the initialization of processor group cpusets
Browse files Browse the repository at this point in the history
CID#1473456

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Mar 2, 2021
1 parent eb0c4d8 commit bff1299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwloc/topology-windows.c
Expand Up @@ -427,7 +427,7 @@ hwloc_win_get_processor_groups(void)
* maybe scale id to id*8/sizeof(ULONG_PTR) so that groups are 64-PU aligned?
*/
hwloc_debug_2args_bitmap("group %u %d bitmap %s\n", id, procInfo->Group.GroupInfo[id].ActiveProcessorCount, set);
processor_group_cpusets[id] = hwloc_bitmap_dup(set);
processor_group_cpusets[id] = set;
}
}

Expand Down

0 comments on commit bff1299

Please sign in to comment.