From: Jason Wang <jasowang@redhat.com>
To: qemu-devel@nongnu.org, peter.maydell@linaro.org
Cc: Paolo Bonzini <pbonzini@redhat.com>, Jason Wang <jasowang@redhat.com>
Subject: [Qemu-devel] [PULL 3/5] net: fix OptsVisitor memory leak
Date: Wed, 6 Apr 2016 10:37:58 +0800 [thread overview]
Message-ID: <1459910280-5101-4-git-send-email-jasowang@redhat.com> (raw)
In-Reply-To: <1459910280-5101-1-git-send-email-jasowang@redhat.com>
From: Paolo Bonzini <pbonzini@redhat.com>
Fixes 96a1616("qapi-dealloc: Reduce use outside of generated code")
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
net/net.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/net.c b/net/net.c
index f8b1e00..0ad6217 100644
--- a/net/net.c
+++ b/net/net.c
@@ -1077,6 +1077,7 @@ int net_client_init(QemuOpts *opts, int is_netdev, Error **errp)
}
error_propagate(errp, err);
+ opts_visitor_cleanup(ov);
return ret;
}
--
2.5.0
next prev parent reply other threads:[~2016-04-06 2:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-06 2:37 [Qemu-devel] [PULL 0/5] Net patches Jason Wang
2016-04-06 2:37 ` [Qemu-devel] [PULL 1/5] util: Improved qemu_hexmap() to include an ascii dump of the buffer Jason Wang
2016-04-06 2:37 ` [Qemu-devel] [PULL 2/5] net: Allocating Large sized arrays to heap Jason Wang
2016-04-06 2:37 ` Jason Wang [this message]
2016-04-06 2:37 ` [Qemu-devel] [PULL 4/5] rtl8139: using CP_TX_OWN for ownership transferring during tx Jason Wang
2016-04-06 2:38 ` [Qemu-devel] [PULL 5/5] filter-buffer: fix segfault when starting qemu with status=off property Jason Wang
2016-04-07 9:37 ` [Qemu-devel] [PULL 0/5] Net patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1459910280-5101-4-git-send-email-jasowang@redhat.com \
--to=jasowang@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).