Signed-off-by: Ben Pfaff <[email protected]>
CC: Ed Maste <[email protected]>
---
lib/netdev-bsd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index 401d03a..8605182 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -323,6 +323,7 @@ netdev_bsd_create_system(const struct netdev_class *class,
const char *name,
/* Verify that the netdev really exists by attempting to read its flags */
error = netdev_get_flags(&netdev->up, &flags);
if (error == ENXIO) {
+ free(netdev->kernel_name);
netdev_uninit(&netdev->up, false);
free(netdev);
cache_notifier_unref();
--
1.7.10.4
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev