Fix leak in SCSI storage backend

The SCSI storage backend leaks a string containing the pathname
for each block device it discovers

* src/storage/storage_backend_scsi.c: Free the device name
This commit is contained in:
Daniel P. Berrange 2010-12-10 12:26:41 +00:00
parent c7a6fc375a
commit 7020ffc0ed

View File

@ -455,6 +455,7 @@ processLU(virStoragePoolObjPtr pool,
VIR_FREE(type_path);
out:
VIR_FREE(block_device);
return retval;
}