2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

vswitchd: Fix unimportant memory leak.

Free dpif_names when we're done with it.

This memory leak is not a big deal since bridge_init() is only ever called
once in a given ovs-vswitchd execution.
This commit is contained in:
Ben Pfaff
2009-09-17 14:46:18 -07:00
parent bbb18ba723
commit d0c9d304ff

View File

@@ -312,6 +312,7 @@ bridge_init(void)
dpif_close(dpif);
}
}
svec_destroy(&dpif_names);
unixctl_command_register("bridge/dump-flows", bridge_unixctl_dump_flows);