ovn-northd: Fix memory leak in logical router flow generation.
authorJustin Pettit <jpettit@nicira.com>
Thu, 22 Oct 2015 01:05:16 +0000 (18:05 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 22 Oct 2015 06:33:55 +0000 (23:33 -0700)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
ovn/northd/ovn-northd.c

index e199937..282f8ae 100644 (file)
@@ -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. */