mirror of https://gitee.com/openkylin/libvirt.git
iscsi: don't leak portal string when starting a pool
This commit is contained in:
parent
eed1de14b5
commit
413274f63b
|
@ -772,6 +772,7 @@ virStorageBackendISCSIStartPool(virConnectPtr conn ATTRIBUTE_UNUSED,
|
|||
ret = 0;
|
||||
|
||||
cleanup:
|
||||
VIR_FREE(portal);
|
||||
VIR_FREE(session);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue