Testcase 2050, ovn -- 3 HVs, 1 LS, 3 lports/HV, reports possible leak: nln_notifier_create (netlink-notifier.c:131) name_table_init (route-table.c:319) route_table_init (route-table.c:110) dp_initialize (dpif.c:126) dp_unregister_provider (dpif.c:218) dpif_dummy_override (dpif-netdev.c:4309) dpif_dummy_register (dpif-netdev.c:4329) dummy_enable (dummy.c:46) parse_options (ovs-vswitchd.c:205) main (ovs-vswitchd.c:76) 'name_notifier' could be overwritten without being free'd.
Tested-at: https://travis-ci.org/williamtu/ovs-travis/builds/138910851 Signed-off-by: William Tu <u9012...@gmail.com> --- lib/route-table.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/route-table.c b/lib/route-table.c index 58e7f62..cf01c34 100644 --- a/lib/route-table.c +++ b/lib/route-table.c @@ -316,6 +316,7 @@ route_table_fallback_lookup(const struct in6_addr *ip6_dst OVS_UNUSED, static void name_table_init(void) { + free(name_notifier); name_notifier = rtnetlink_notifier_create(name_table_change, NULL); } -- 2.5.0 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev