Valgrind report: ==5516== 51,200 (29,600 direct, 21,600 indirect) bytes in 100 blocks are definitely lost in loss record 1,495 of 1,510 ==5516== at 0x4C2BF79: calloc (vg_replace_malloc.c:762) ==5516== by 0x51ABA9: xcalloc (util.c:121) ==5516== by 0x51ABF2: xzalloc (util.c:132) ==5516== by 0x4F76CD: ovsdb_idl_index_init_row (ovsdb-idl.c:3031) ==5516== by 0x46188B: sbrec_logical_flow_index_init_row (ovn-sb-idl.c:15955) ==5516== by 0x412937: lflow_add_flows_for_datapath (lflow.c:898) ==5516== by 0x42DD5E: flow_output_runtime_data_handler (ovn-controller.c:2019) ==5516== by 0x44F9DA: engine_compute (inc-proc-eng.c:306) ==5516== by 0x44FB75: engine_run_node (inc-proc-eng.c:352) ==5516== by 0x44FC02: engine_run (inc-proc-eng.c:377) ==5516== by 0x42F56E: main (ovn-controller.c:2402)
CC: Numan Siddique <num...@ovn.org> CC: Venkata Anil <anilvenk...@redhat.com> Fixes: ade4e779d3fb ("ovn-controller: Use the tracked runtime data changes for flow calculation.") Signed-off-by: Dumitru Ceara <dce...@redhat.com> --- controller/lflow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/lflow.c b/controller/lflow.c index 15f1a6a..c850a0d 100644 --- a/controller/lflow.c +++ b/controller/lflow.c @@ -912,6 +912,7 @@ lflow_add_flows_for_datapath(const struct sbrec_datapath_binding *dp, break; } } + sbrec_logical_flow_index_destroy_row(lf_row); dhcp_opts_destroy(&dhcp_opts); dhcp_opts_destroy(&dhcpv6_opts); -- 1.8.3.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev