[ovs-dev] [PATCH 03/10] ovn-northd: Fix memory leak in ARP reply flows.
Justin Pettit
jpettit at nicira.com
Wed Oct 21 07:24:24 UTC 2015
Signed-off-by: Justin Pettit <jpettit at nicira.com>
---
ovn/northd/ovn-northd.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index e199937..2ebd3f4 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -1405,6 +1405,8 @@ build_lrouter_flows(struct hmap *datapaths, struct hmap *ports,
op->json_key);
ovn_lflow_add(lflows, op->od, S_ROUTER_IN_IP_INPUT, 90,
match, actions);
+ free(match);
+ free(actions);
/* Drop IP traffic to this router. */
match = xasprintf("ip4.dst == "IP_FMT, IP_ARGS(op->ip));
--
1.7.5.4
More information about the dev
mailing list