Skip to content

Commit

Permalink
dpif-netlink: Fix memory leak on port del on WIN32.
Browse files Browse the repository at this point in the history
Fixes: da46789 ("Windows: Add internal switch port per OVS bridge")
Signed-off-by: Eric Garver <[email protected]>
Acked-by: Alin Gabriel Serdean <[email protected]>
Signed-off-by: Joe Stringer <[email protected]>
  • Loading branch information
erig0 authored and joestringer committed Apr 12, 2017
1 parent becca47 commit de5739e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dpif-netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit de5739e

Please sign in to comment.