qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] net: fix OptsVisitor memory leak
@ 2016-03-31 14:28 Paolo Bonzini
  2016-03-31 16:22 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2016-03-31 14:28 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, jasowang

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 net/net.c | 1 +
 1 file changed, 1 insertion(+)

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;
 }
 
-- 
2.5.5

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-01  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 14:28 [Qemu-devel] [PATCH] net: fix OptsVisitor memory leak Paolo Bonzini
2016-03-31 16:22 ` Eric Blake
2016-04-01  2:00   ` Jason Wang

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).