aboutsummaryrefslogtreecommitdiff
path: root/vswitchd/ovs-vswitchd.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-12-13 13:08:31 -0800
committerBen Pfaff <blp@nicira.com>2010-12-13 14:29:13 -0800
commitee45ad81ab7e9ff6034352b6743985e28fedd649 (patch)
tree70b7efa2c224b007d53fe0f9e7445bde65dd39ff /vswitchd/ovs-vswitchd.c
parentd2bb2799e1b7cf2177140cf4ca8a60312c87625a (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.c2
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;
}