summaryrefslogtreecommitdiff
path: root/usr/src/lib/libdevinfo/devinfo_devlink.c
diff options
context:
space:
mode:
authorcth <none@none>2006-09-13 15:20:10 -0700
committercth <none@none>2006-09-13 15:20:10 -0700
commita08731ec17cb062d80f19791149c20e0f2f43b01 (patch)
treea6aa7f2aa9e10c88af917165d13f9716548b8bd8 /usr/src/lib/libdevinfo/devinfo_devlink.c
parente824d57f8160a27ac5e650005c7a4f037109c2be (diff)
downloadillumos-gate-a08731ec17cb062d80f19791149c20e0f2f43b01.tar.gz
PSARC/2006/519 Metadevice Names in iostat/vmstat Output
4981132 iostat -Ecte header mal-formed 6402814 Solaris 10 vmstat performance degradation, due to excessive calls to libdevinfo 6464368 iostat and mpstat call kstat_open, but not kstat_close 6466406 kstat: default_kstat_snapshot() should only set lastupdate for incomplete transactions. 6467122 di_devlink_init leaks, missing free of db_dir in handle_free
Diffstat (limited to 'usr/src/lib/libdevinfo/devinfo_devlink.c')
-rw-r--r--usr/src/lib/libdevinfo/devinfo_devlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/lib/libdevinfo/devinfo_devlink.c b/usr/src/lib/libdevinfo/devinfo_devlink.c
index 3bc5dadf6d..cd259eaee1 100644
--- a/usr/src/lib/libdevinfo/devinfo_devlink.c
+++ b/usr/src/lib/libdevinfo/devinfo_devlink.c
@@ -1032,6 +1032,7 @@ handle_free(struct di_devlink_handle **pp)
assert(hdp->lock_fd == -1);
free(hdp->dev_dir);
+ free(hdp->db_dir);
free(hdp);
}