diff options
author | le <le@FreeBSD.org> | 2004-04-24 23:41:21 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2004-04-24 23:41:21 +0000 |
commit | bf0520a1622ff7555e8048e0cd6cead59b8c8e68 (patch) | |
tree | bd16486fe65edc5ee6c868a0b1197538ef1df080 /sys/dev/vinum | |
parent | 0e877d510e88aa943cfb5f7d9d442cc8592139fa (diff) | |
download | FreeBSD-src-bf0520a1622ff7555e8048e0cd6cead59b8c8e68.zip FreeBSD-src-bf0520a1622ff7555e8048e0cd6cead59b8c8e68.tar.gz |
Plug a mem leak in vinum_scandisk().
Approved by: grog (mentor)
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/vinum/vinumio.c b/sys/dev/vinum/vinumio.c index 71a46f5..e77291e 100644 --- a/sys/dev/vinum/vinumio.c +++ b/sys/dev/vinum/vinumio.c @@ -878,6 +878,7 @@ vinum_scandisk(char *devicename) drive->flags |= VF_CONFIGURED; /* this drive's configuration is complete */ } + Free(config_line); Free(config_text); Free(drivelist); vinum_conf.flags &= ~VF_READING_CONFIG; /* no longer reading from disk */ |