diff options
author | Ben Pfaff <blp@nicira.com> | 2010-12-13 13:08:31 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-12-13 14:29:13 -0800 |
commit | ee45ad81ab7e9ff6034352b6743985e28fedd649 (patch) | |
tree | 70b7efa2c224b007d53fe0f9e7445bde65dd39ff /vswitchd/ovs-vswitchd.c | |
parent | d2bb2799e1b7cf2177140cf4ca8a60312c87625a (diff) |
ovs-vswitchd: Release most memory on normal exit.
This makes "valgrind --leak-check=full --show-reachable=yes" output much
easier to read.
Diffstat (limited to 'vswitchd/ovs-vswitchd.c')
-rw-r--r-- | vswitchd/ovs-vswitchd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 93f0371c..cd30c96d 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -107,6 +107,8 @@ main(int argc, char *argv[]) } poll_block(); } + bridge_exit(); + unixctl_server_destroy(unixctl); return 0; } |