From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aloNr-00047f-79 for qemu-devel@nongnu.org; Thu, 31 Mar 2016 22:00:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aloNo-0005Aq-0X for qemu-devel@nongnu.org; Thu, 31 Mar 2016 22:00:23 -0400 References: <1459434536-28145-1-git-send-email-pbonzini@redhat.com> <56FD4ECD.9040703@redhat.com> From: Jason Wang Message-ID: <56FDD62F.7080702@redhat.com> Date: Fri, 1 Apr 2016 10:00:15 +0800 MIME-Version: 1.0 In-Reply-To: <56FD4ECD.9040703@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] net: fix OptsVisitor memory leak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org On 04/01/2016 12:22 AM, Eric Blake wrote: > On 03/31/2016 08:28 AM, Paolo Bonzini wrote: >> Signed-off-by: Paolo Bonzini > May want to add: regression introduced in commit 96a1616. > >> --- >> net/net.c | 1 + >> 1 file changed, 1 insertion(+) > Reviewed-by: Eric Blake Applied to -net. Thanks > >> diff --git a/net/net.c b/net/net.c >> index 594c3b8..3847a13 100644 >> --- a/net/net.c >> +++ b/net/net.c >> @@ -1100,6 +1100,7 @@ int net_client_init(QemuOpts *opts, int is_netdev, Error **errp) >> } >> >> error_propagate(errp, err); >> + opts_visitor_cleanup(ov); >> return ret; >> } >> >>