Signed-off-by: Ben Pfaff <b...@nicira.com>
CC: Ed Maste <ema...@freebsd.org>
---
 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
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to