test-ovn: Fix memory leak in option processing.
authorJustin Pettit <jpettit@nicira.com>
Thu, 22 Oct 2015 07:16:27 +0000 (00:16 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 23 Oct 2015 01:00:16 +0000 (18:00 -0700)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
tests/test-ovn.c

index 47a2b0a..7c1fc13 100644 (file)
@@ -1430,6 +1430,7 @@ test_ovn_main(int argc, char *argv[])
             abort();
         }
     }
+    free(short_options);
 
     static const struct ovs_cmdl_command commands[] = {
         /* Lexer. */