Testcase 1429: ovsdb-server/add-db and remove-db. xmemdup0 (util.c:142) main (ovsdb-client.c:133)
Signed-off-by: William Tu <u9012...@gmail.com> --- Comments: This testcase happens to exercise the error and exit case, thus valgrind complains about memory leak. --- ovsdb/ovsdb-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ovsdb/ovsdb-client.c b/ovsdb/ovsdb-client.c index 06155ec..980cd9a 100644 --- a/ovsdb/ovsdb-client.c +++ b/ovsdb/ovsdb-client.c @@ -145,6 +145,7 @@ main(int argc, char *argv[]) if (argc - optind < command->min_args || argc - optind > command->max_args) { + free(database); VLOG_FATAL("invalid syntax for '%s' (use --help for help)", command->name); } -- 2.5.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev