On Wed, Mar 6, 2019 at 7:23 PM Han Zhou <[email protected]> wrote:

> From: Han Zhou <[email protected]>
>
> Reported by Address Sanitizer.
>
> Fixes: 5e07b8f93f03 ("ovsdb-idl: New function
> ovsdb_idl_create_unconnected().")
> Signed-off-by: Han Zhou <[email protected]>
> ---
>
> Notes:
>     v1->v2: address comments from David Marchand.
>
>  lib/ovsdb-idl.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/lib/ovsdb-idl.c b/lib/ovsdb-idl.c
> index 8cfb201..ed2b30a 100644
> --- a/lib/ovsdb-idl.c
> +++ b/lib/ovsdb-idl.c
> @@ -571,6 +571,7 @@ ovsdb_idl_destroy(struct ovsdb_idl *idl)
>          ovsdb_idl_db_destroy(&idl->server);
>          ovsdb_idl_db_destroy(&idl->data);
>          json_destroy(idl->request_id);
> +        free(idl->remote);
>          free(idl);
>      }
>  }
>

Reviewed-by: David Marchand <[email protected]>

-- 
David Marchand
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to