2
0
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:
Jesse Gross
2010-03-30 18:40:01 -04:00
parent 15b3596a41
commit 658797c83a

View File

@@ -974,7 +974,7 @@ netdev_linux_destroy(struct netdev_dev *netdev_dev_)
destroy_patch(netdev_dev);
}
free(netdev_dev_);
free(netdev_dev);
}
static int