Skip to content

Commit

Permalink
Merge pull request pmodels#6600 from hzhou/2307_pmi_leak
Browse files Browse the repository at this point in the history
mpir: fix memory leak in mpir_hwtopo.c

No reviewers.
  • Loading branch information
hzhou authored Jul 20, 2023
2 parents 5d62e24 + c562642 commit c3db64a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/mpir_hwtopo.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ int MPII_hwtopo_init(void)
* file is really the underlying system. */
hwloc_topology_set_flags(hwloc_topology, HWLOC_TOPOLOGY_FLAG_IS_THISSYSTEM);
}
MPL_free(xmlfile);
}

hwloc_topology_set_io_types_filter(hwloc_topology, HWLOC_TYPE_FILTER_KEEP_ALL);
Expand Down

0 comments on commit c3db64a

Please sign in to comment.