2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

dpif-netlink: Fix memory leak on port del on WIN32.

Fixes: da467899ab ("Windows: Add internal switch port per OVS bridge")
Signed-off-by: Eric Garver <e@erig.me>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
This commit is contained in:
Eric Garver
2017-04-04 16:31:57 -04:00
committed by Joe Stringer
parent becca4761e
commit de5739e2d1

View File

@@ -963,6 +963,7 @@ dpif_netlink_port_del__(struct dpif_netlink *dpif, odp_port_t port_no)
temp_dpif_port.name);
};
}
dpif_port_destroy(&temp_dpif_port);
#endif
error = dpif_netlink_vport_transact(&vport, NULL, NULL);