fix possible handle leak in sigar_get_cpu_mhz_perfstat

This commit is contained in:
Doug MacEachern committed 2004-07-13 02:25:41 +00:00
1 parent c1df8325d5
commit 6b692615ef
1 file changed
+1
+1
View File
@@ -1168,6 +1168,7 @@ static int sigar_get_cpu_mhz_perfstat(sigar_t *sigar)
sigar->cpu_mhz = data.processorHZ / 1000000;
}
else {
dlclose(handle);
return errno;
}