diff options
Diffstat (limited to 'modules/network/net.c')
-rw-r--r-- | modules/network/net.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/network/net.c b/modules/network/net.c index 97802cce..f8451239 100644 --- a/modules/network/net.c +++ b/modules/network/net.c @@ -312,13 +312,9 @@ static void scan_net_interfaces_24(void) return; } - if (network_interfaces) { - g_free(network_interfaces); - } + g_free(network_interfaces); - if (network_icons) { - g_free(network_icons); - } + g_free(network_icons); network_interfaces = g_strdup("[Network Interfaces]\n"); network_icons = g_strdup(""); |