projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74044c8
)
net: fix OptsVisitor memory leak
author
Paolo Bonzini
<pbonzini@redhat.com>
Thu, 31 Mar 2016 14:28:56 +0000
(16:28 +0200)
committer
Jason Wang
<jasowang@redhat.com>
Wed, 6 Apr 2016 01:52:07 +0000
(09:52 +0800)
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
patch
|
blob
|
history
diff --git
a/net/net.c
b/net/net.c
index
f8b1e00
..
0ad6217
100644
(file)
--- 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;
}