[ovs-dev] [PATCH ovn] Fix memory leak in build_pre_lb

Lorenzo Bianconi lorenzo.bianconi at redhat.com
Sun Aug 25 18:02:08 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>
 northd/ovn-northd.c | 1 -
 1 file changed, 1 deletion(-)

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

More information about the dev mailing list