tinc-gui: Reformat codebase according to PEP8
[tinc] / src / net_setup.c
index 0033c00..23dd252 100644 (file)
@@ -962,9 +962,8 @@ static bool setup_myself(void) {
                else if(!strcasecmp(type, "vde"))
                        devops = vde_devops;
 #endif
-       }
-       if (type)
                free(type);
+       }
 
        get_config_bool(lookup_config(config_tree, "DeviceStandby"), &device_standby);