diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-31 16:28:56 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-04-06 09:52:07 +0800 |
commit | 044d65525f6ac2093042ae18dbf8c1300b5c1c18 (patch) | |
tree | da47525f86ba790c20b9bb74a415a8213d0fdaef /net/net.c | |
parent | 74044c8ffc10c2cfd76f80c785c3f6a6f101a662 (diff) |
net: fix OptsVisitor memory leak
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>
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |