(SIGAR-162) plug possible memory leak in sigar_iodev_get util

This commit is contained in:
Doug MacEachern 2009-07-16 07:10:04 -07:00
parent 1039b12396
commit a3851c6b9a
1 changed files with 1 additions and 1 deletions

View File

@ -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));