projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbb18ba
)
vswitchd: Fix unimportant memory leak.
author
Ben Pfaff
<blp@nicira.com>
Thu, 17 Sep 2009 21:46:18 +0000
(14:46 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 17 Sep 2009 21:46:18 +0000
(14:46 -0700)
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
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index 6b7502bfeeb7893a38574ac3518d24d80bd44daf..ac993bfce05c0036ca5d7ddba761769374630787 100644
(file)
--- 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);