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