Plug a mem leak in vinum_scandisk().
Approved by: grog (mentor)
This commit is contained in:
parent
769270223c
commit
4e72cdbdc6
@ -878,6 +878,7 @@ vinum_scandisk(char *devicename)
|
|||||||
drive->flags |= VF_CONFIGURED; /* this drive's configuration is complete */
|
drive->flags |= VF_CONFIGURED; /* this drive's configuration is complete */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Free(config_line);
|
||||||
Free(config_text);
|
Free(config_text);
|
||||||
Free(drivelist);
|
Free(drivelist);
|
||||||
vinum_conf.flags &= ~VF_READING_CONFIG; /* no longer reading from disk */
|
vinum_conf.flags &= ~VF_READING_CONFIG; /* no longer reading from disk */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user