[ovs-dev] [PATCH] ovn-northd: Fix memory leak in logical router flow generation.

Russell Bryant rbryant at redhat.com
Thu Oct 22 06:32:55 UTC 2015


On 10/21/2015 09:06 PM, Justin Pettit wrote:
> Signed-off-by: Justin Pettit <jpettit at nicira.com>
> ---
>  ovn/northd/ovn-northd.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
> index e199937..282f8ae 100644
> --- a/ovn/northd/ovn-northd.c
> +++ b/ovn/northd/ovn-northd.c
> @@ -1328,6 +1328,7 @@ build_lrouter_flows(struct hmap *datapaths, struct hmap *ports,
>              ETH_ADDR_ARGS(op->mac), op->json_key);
>          ovn_lflow_add(lflows, op->od, S_ROUTER_IN_ADMISSION, 50,
>                        match, "next;");
> +        free(match);
>      }
>  
>      /* Logical router ingress table 1: IP Input. */
> 

Acked-by: Russell Bryant <rbryant at redhat.com>

-- 
Russell Bryant



More information about the dev mailing list