X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=vswitchd%2Fbridge.c;h=35267a6c2adea3dd3282c714b27100c1194b3c15;hb=5586445e9945574da85f96976ca650e19b8216c1;hp=c883cf54b77e28f03f5523418ec71b00a64c4d46;hpb=ceb4559f662c12eeb2bf9e4665ec88e96d990752;p=openvswitch diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index c883cf54..35267a6c 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -823,7 +823,7 @@ bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg) } ofproto_set_sflow(br->ofproto, &oso); - svec_destroy(&oso.targets); + /* Do not destroy oso.targets because it is owned by sflow_cfg. */ } else { ofproto_set_sflow(br->ofproto, NULL); }