aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2015-10-22 00:16:27 -0700
committerJustin Pettit <jpettit@nicira.com>2015-10-22 18:00:16 -0700
commitd2730f4c448c3c305f56eb99d4a663d4dd23f9b4 (patch)
tree3cd036d4993527c584c3354257ad9a47b788c9b9
parentfcd48081387bb183138ceb5bcb97f78c524f33a3 (diff)
test-ovn: Fix memory leak in option processing.
Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Andy Zhou <azhou@nicira.com>
-rw-r--r--tests/test-ovn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-ovn.c b/tests/test-ovn.c
index 47a2b0a47..7c1fc135e 100644
--- a/tests/test-ovn.c
+++ b/tests/test-ovn.c
@@ -1430,6 +1430,7 @@ test_ovn_main(int argc, char *argv[])
abort();
}
}
+ free(short_options);
static const struct ovs_cmdl_command commands[] = {
/* Lexer. */