On Wed, Mar 10, 2021 at 6:06 AM Ben Pfaff <[email protected]> wrote:
>
> This string is allocated in northd_ctx_create() but until now it was
> not freed.
>
> Signed-off-by: Ben Pfaff <[email protected]>
> Reported-by: Numan Siddique <[email protected]>

Acked-by: Numan Siddique <[email protected]>

Numan

> ---
>  northd/ovn-northd-ddlog.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/northd/ovn-northd-ddlog.c b/northd/ovn-northd-ddlog.c
> index 4efdfa38749a..c98bded71b5f 100644
> --- a/northd/ovn-northd-ddlog.c
> +++ b/northd/ovn-northd-ddlog.c
> @@ -200,6 +200,7 @@ northd_ctx_destroy(struct northd_ctx *ctx)
>      if (ctx) {
>          ovsdb_cs_destroy(ctx->cs);
>          json_destroy(ctx->output_only_data);
> +        free(ctx->prefix);
>          free(ctx);
>      }
>  }
> --
> 2.29.2
>
> _______________________________________________
> dev mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to