ovn-nbctl: Fix memory leak in option processing.
authorJustin Pettit <jpettit@nicira.com>
Thu, 22 Oct 2015 22:52:10 +0000 (15:52 -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>
ovn/utilities/ovn-nbctl.c

index 947c58c..2303f31 100644 (file)
@@ -268,6 +268,7 @@ parse_options(int argc, char *argv[], struct shash *local_options)
             abort();
         }
     }
+    free(short_options);
 
     if (!db) {
         db = nbctl_default_db();