From: Ben Pfaff Date: Thu, 17 Sep 2009 21:46:18 +0000 (-0700) Subject: vswitchd: Fix unimportant memory leak. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0c9d304ffe9282c1f75d44c86e471d614af632c;p=openvswitch 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. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 6b7502bf..ac993bfc 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -312,6 +312,7 @@ bridge_init(void) dpif_close(dpif); } } + svec_destroy(&dpif_names); unixctl_command_register("bridge/dump-flows", bridge_unixctl_dump_flows);