qemu-stable
[Top][All Lists]
Advanced

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

Re: [Qemu-stable] [PATCH] rdma: memory leak InetSocketAddress


From: Michael Roth
Subject: Re: [Qemu-stable] [PATCH] rdma: memory leak InetSocketAddress
Date: Sat, 15 Feb 2014 20:33:04 -0600
User-agent: alot/0.3.4

Quoting Frank (2013-09-12 08:51:56)
> It is allocated by g_new0() in inet_parse(), so needs to be freed in 
> qemu_rdma_data_init().
> 
> From d7a8d1aad11fbe9af389cf9dd6cee14cc3249b1f Mon Sep 17 00:00:00 2001
> From: Frank Yang <address@hidden>
> Date: Thu, 12 Sep 2013 21:37:56 +0800
> Subject: [PATCH] rdma: memory leak InetSocketAddress
> 
> Signed-off-by: Frank Yang <address@hidden>

Ping, looking to pull this in for 1.7.1

> ---
>  migration-rdma.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/migration-rdma.c b/migration-rdma.c
> index 05a155b..bcbe2d2 100644
> --- a/migration-rdma.c
> +++ b/migration-rdma.c
> @@ -2512,6 +2512,7 @@ static void *qemu_rdma_data_init(const char *host_port, 
> Error **errp)
>          }
>      }
> 
> +    qapi_free_InetSocketAddress(addr);
>      return rdma;
>  }
> 
> -- 
> 1.8.3.msysgit.0
> 
> -- 
> Frank




reply via email to

[Prev in Thread] Current Thread [Next in Thread]