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

Andy Zhou azhou at nicira.com
Fri Oct 23 00:53:54 UTC 2015


Thanks for killing all those memory leak bugs!

Acked-by: Andy Zhou <azhou at nicira.com>



On Thu, Oct 22, 2015 at 3:57 PM, Justin Pettit <jpettit at nicira.com> wrote:
> Signed-off-by: Justin Pettit <jpettit at nicira.com>
> ---
>  ovn/utilities/ovn-nbctl.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/ovn/utilities/ovn-nbctl.c b/ovn/utilities/ovn-nbctl.c
> index 947c58c..2303f31 100644
> --- a/ovn/utilities/ovn-nbctl.c
> +++ b/ovn/utilities/ovn-nbctl.c
> @@ -268,6 +268,7 @@ parse_options(int argc, char *argv[], struct shash *local_options)
>              abort();
>          }
>      }
> +    free(short_options);
>
>      if (!db) {
>          db = nbctl_default_db();
> --
> 1.7.5.4
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list