mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
netdev-linux: Don't free a member of a struct.
We allocate struct netdev_linux which contains struct netdev but free the netdev. In practice this makes no difference because the netdev is the first member of the struct but we should be correct anyways.
This commit is contained in:
@@ -974,7 +974,7 @@ netdev_linux_destroy(struct netdev_dev *netdev_dev_)
|
||||
destroy_patch(netdev_dev);
|
||||
}
|
||||
|
||||
free(netdev_dev_);
|
||||
free(netdev_dev);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Reference in New Issue
Block a user