aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2015-10-20 12:59:28 -0700
committerJustin Pettit <jpettit@nicira.com>2015-10-22 16:02:50 -0700
commitabcec848ac97f9af713ff2581dec5d3632550bc6 (patch)
tree9817298e297f097d69e58abdcaad4d80be96fd96
parente04f7e4f2f574500334326dbda1bb808cf25c721 (diff)
ovn-northd: Fix memory leak in ARP reply flows.
Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
-rw-r--r--ovn/northd/ovn-northd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 282f8ae5f..60786d2ca 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -1406,6 +1406,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));