]> git.meshlink.io Git - meshlink/blobdiff - src/bsd/device.c
Update THANKS and copyright information.
[meshlink] / src / bsd / device.c
index 01b7071a00687ed1b77b383f1af64ec9d82104a3..2e8908af3dce5e54baa24e25e303fbe6026b2dfc 100644 (file)
@@ -1,7 +1,7 @@
 /*
     device.c -- Interaction BSD tun/tap device
     Copyright (C) 2001-2005 Ivo Timmermans,
-                  2001-2008 Guus Sliepen <guus@tinc-vpn.org>
+                  2001-2009 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -140,6 +140,9 @@ void close_device(void) {
        cp();
 
        close(device_fd);
+
+       free(device);
+       free(iface);
 }
 
 bool read_packet(vpn_packet_t *packet) {