]> git.ipfire.org Git - thirdparty/openvpn.git/blobdiff - src/openvpn/dco_freebsd.c
Fix memory leaks in open_tun_dco()
[thirdparty/openvpn.git] / src / openvpn / dco_freebsd.c
index ecca2a0764844b37bdf63dc941708cdbce9042b7..225b3cf88df3ca6340b7ce055f7ba480903a2ef4 100644 (file)
@@ -232,7 +232,6 @@ create_interface(struct tuntap *tt, const char *dev)
     }
 
     snprintf(tt->dco.ifname, IFNAMSIZ, "%s", ifr.ifr_data);
-    tt->actual_name = string_alloc(tt->dco.ifname, NULL);
 
     /* see "Interface Flags" in ifnet(9) */
     int i = IFF_POINTOPOINT | IFF_MULTICAST;