[ovs-dev] [PATCH 2/2] vswitchd: Fix unimportant memory leak.
Ben Pfaff
blp at nicira.com
Thu Sep 17 21:46:27 UTC 2009
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 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index 6b7502b..ac993bf 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);
--
1.6.3.3
More information about the dev
mailing list