mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
dpif-netdev: Fix memory leak.
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
This commit is contained in:
@@ -821,6 +821,7 @@ port_unref(struct dp_netdev_port *port)
|
||||
for (i = 0; i < n_rxq; i++) {
|
||||
netdev_rxq_close(port->rxq[i]);
|
||||
}
|
||||
free(port->rxq);
|
||||
free(port->type);
|
||||
free(port);
|
||||
}
|
||||
|
Reference in New Issue
Block a user