network: Fix small memory leak

This commit is contained in:
Robert Ancell 2019-10-01 12:51:55 +13:00
parent 6211337ad6
commit 4ba3a2c3d1

View file

@ -203,7 +203,7 @@ device_ethernet_refresh_ui (NetDeviceEthernet *device)
NMDevice *nm_device;
NMDeviceState state;
GtkWidget *widget;
gchar *speed = NULL;
g_autofree gchar *speed = NULL;
nm_device = net_device_get_nm_device (NET_DEVICE (device));