Move free()s at the end om main() to the proper destructor functions.
[tinc] / src / cygwin /
drwxr-xr-x   ..
-rw-r--r-- 6880 device.c