net: fix OptsVisitor memory leak
commit044d65525f6ac2093042ae18dbf8c1300b5c1c18
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 Mar 2016 14:28:56 +0000 (31 16:28 +0200)
committerJason Wang <jasowang@redhat.com>
Wed, 6 Apr 2016 01:52:07 +0000 (6 09:52 +0800)
treeda47525f86ba790c20b9bb74a415a8213d0fdaef
parent74044c8ffc10c2cfd76f80c785c3f6a6f101a662
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>
net/net.c