diff --git a/src/net_setup.c b/src/net_setup.c index 0033c008..23dd2521 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -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);