[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] iscsi: don't leak portal string when starting a pool



On 05/07/2013 02:02 AM, Ján Tomko wrote:
> ---
>  src/storage/storage_backend_iscsi.c | 1 +
>  1 file changed, 1 insertion(+)

ACK.

> 
> diff --git a/src/storage/storage_backend_iscsi.c b/src/storage/storage_backend_iscsi.c
> index cf25919..3b48f44 100644
> --- a/src/storage/storage_backend_iscsi.c
> +++ b/src/storage/storage_backend_iscsi.c
> @@ -772,6 +772,7 @@ virStorageBackendISCSIStartPool(virConnectPtr conn ATTRIBUTE_UNUSED,
>      ret = 0;
>  
>  cleanup:
> +    VIR_FREE(portal);
>      VIR_FREE(session);
>      return ret;
>  }
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]