Mercurial > illumos > illumos-gate
changeset 9791:61b4ddda82ec
6847669 libtopo leaks smbios handles
author | Eric Schrock <Eric.Schrock@Sun.COM> |
---|---|
date | Thu, 04 Jun 2009 19:04:13 -0700 |
parents | e276ee006ff6 |
children | 06ef57c407a4 |
files | usr/src/lib/fm/topo/libtopo/common/topo_snap.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/lib/fm/topo/libtopo/common/topo_snap.c Thu Jun 04 17:15:02 2009 -0700 +++ b/usr/src/lib/fm/topo/libtopo/common/topo_snap.c Thu Jun 04 19:04:13 2009 -0700 @@ -233,6 +233,8 @@ topo_hdl_strfree(thp, thp->th_rootdir); if (thp->th_ipmi != NULL) ipmi_close(thp->th_ipmi); + if (thp->th_smbios != NULL) + smbios_close(thp->th_smbios); /* * Clean-up snapshot