[ovs-dev] [coverity2 5/7] ovsdb-tool: Close "log" in do_show_log().
Justin Pettit
jpettit at nicira.com
Wed Feb 23 06:18:31 UTC 2011
Coverity #10726
---
ovsdb/ovsdb-tool.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c
index 4f55b6a..2754909 100644
--- a/ovsdb/ovsdb-tool.c
+++ b/ovsdb/ovsdb-tool.c
@@ -459,6 +459,7 @@ do_show_log(int argc OVS_UNUSED, char *argv[])
putchar('\n');
}
+ ovsdb_log_close(log);
/* XXX free 'names'. */
}
--
1.7.1
More information about the dev
mailing list