(SIGAR-162) plug possible memory leak in sigar_iodev_get util
This commit is contained in:
parent
1039b12396
commit
a3851c6b9a
|
@ -424,7 +424,7 @@ sigar_iodev_t *sigar_iodev_get(sigar_t *sigar,
|
||||||
"[iodev] inode stat(%s) failed",
|
"[iodev] inode stat(%s) failed",
|
||||||
fsp->dir_name);
|
fsp->dir_name);
|
||||||
}
|
}
|
||||||
return NULL; /* cant cache w/o inode */
|
continue; /* cant cache w/o inode */
|
||||||
}
|
}
|
||||||
|
|
||||||
ent = sigar_cache_get(sigar->fsdev, SIGAR_FSDEV_ID(sb));
|
ent = sigar_cache_get(sigar->fsdev, SIGAR_FSDEV_ID(sb));
|
||||||
|
|
Loading…
Reference in New Issue