diff mbox

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

Message ID 1445554650-21984-5-git-send-email-jpettit@nicira.com
State Accepted
Headers show

Commit Message

Justin Pettit Oct. 22, 2015, 10:57 p.m. UTC
Signed-off-by: Justin Pettit <jpettit@nicira.com>
---
 tests/test-ovn.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Andy Zhou Oct. 23, 2015, 12:51 a.m. UTC | #1
On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit <jpettit@nicira.com> wrote:
> Signed-off-by: Justin Pettit <jpettit@nicira.com>
> ---
>  tests/test-ovn.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
Acked-by: Andy Zhou <azhou@nicira.com>
diff mbox

Patch

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. */