[ovs-dev] [PATCH 5/6] test-ovn: Fix memory leak in option processing.

Justin Pettit jpettit at nicira.com
Thu Oct 22 22:57:29 UTC 2015


Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
 tests/test-ovn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/test-ovn.c b/tests/test-ovn.c
index 47a2b0a..7c1fc13 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. */
-- 
1.7.5.4




More information about the dev mailing list