[ovs-dev] [PATCH v2.12] OVN: fix memory leak in build_pre_lb

Lorenzo Bianconi lorenzo.bianconi at redhat.com
Mon Aug 26 09:19:32 UTC 2019

Fix memory leak of ip_address string in build_pre_lb routine if we
install logical flows for empty_lb controller event

Fixes: f49b17a6cbe3 ("OVN: use trigger_event action to report 'empty_lb_rule' events")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
 ovn/northd/ovn-northd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c
index 2abf1f897..6c6de2afd 100644
--- a/ovn/northd/ovn-northd.c
+++ b/ovn/northd/ovn-northd.c
@@ -3943,7 +3943,6 @@ build_pre_lb(struct ovn_datapath *od, struct hmap *lflows)
                               ds_cstr(&match), action);
-                continue;

More information about the dev mailing list