diff --git a/llarp/ev_kqueue.hpp b/llarp/ev_kqueue.hpp index a599b30d7..49bd0f715 100644 --- a/llarp/ev_kqueue.hpp +++ b/llarp/ev_kqueue.hpp @@ -298,6 +298,8 @@ namespace llarp ~tun() { + if(tunif) + tuntap_destroy(tunif); } };