summaryrefslogtreecommitdiffstats
path: root/src/vnet/dev/dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/dev/dev.c')
-rw-r--r--src/vnet/dev/dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dev/dev.c b/src/vnet/dev/dev.c
index 9b99fe432a4..0e04e9ab64b 100644
--- a/src/vnet/dev/dev.c
+++ b/src/vnet/dev/dev.c
@@ -160,6 +160,7 @@ vnet_dev_free (vlib_main_t *vm, vnet_dev_t *dev)
pool_free (dev->ports);
pool_free (dev->periodic_ops);
hash_unset (dm->device_index_by_id, dev->device_id);
+ vnet_dev_arg_free (&dev->args);
pool_put_index (dm->devices, dev->index);
}