From d0c9d304ffe9282c1f75d44c86e471d614af632c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 17 Sep 2009 14:46:18 -0700 Subject: [PATCH] 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. --- vswitchd/bridge.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2