[ovs-dev] [PATCH] Fixes memory leaked by call to ovn_extend_table_init that is missing a corresponding ovn_extend_table_destroy in test-ovn.c. This fixes leaks for the group_table and meter_table objects.
bshastry at sect.tu-berlin.de
bshastry at sect.tu-berlin.de
Wed Sep 26 13:11:40 UTC 2018
From: Bhargava Shastry <bshastry at sec.t-labs.tu-berlin.de>
Signed-off-by: Bhargava Shastry <bshastry at sect.tu-berlin.de>
---
tests/test-ovn.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/test-ovn.c b/tests/test-ovn.c
index 5e6d1c3b4..ebaf21673 100644
--- a/tests/test-ovn.c
+++ b/tests/test-ovn.c
@@ -1347,6 +1347,8 @@ test_parse_actions(struct ovs_cmdl_context *ctx OVS_UNUSED)
dhcp_opts_destroy(&dhcp_opts);
dhcp_opts_destroy(&dhcpv6_opts);
nd_ra_opts_destroy(&nd_ra_opts);
+ ovn_extend_table_destroy(&group_table);
+ ovn_extend_table_destroy(&meter_table);
exit(ok ? EXIT_SUCCESS : EXIT_FAILURE);
}
--
2.17.1
More information about the dev
mailing list