diff --git a/net/net.c b/net/net.c index f8b1e00f37..0ad6217cb9 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; }