mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-02 12:20:12 +01:00
manager: fix a couple of memory leaks
Fixes:4dbaac4ba2Fixes:d8e1590c50
This commit is contained in:
parent
e1f395834a
commit
a4492f4145
1 changed files with 4 additions and 1 deletions
|
|
@ -1025,7 +1025,8 @@ system_create_virtual_device (NMManager *self, NMConnection *connection)
|
|||
{
|
||||
NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
|
||||
NMDeviceFactory *factory;
|
||||
GSList *connections, *iter;
|
||||
gs_free_slist GSList *connections = NULL;
|
||||
GSList *iter;
|
||||
gs_free char *iface = NULL;
|
||||
NMDevice *device = NULL, *parent = NULL;
|
||||
GError *error = NULL;
|
||||
|
|
@ -1137,6 +1138,8 @@ retry_connections_for_parent_device (NMManager *self, NMDevice *device)
|
|||
if (parent == device)
|
||||
connection_changed (priv->settings, candidate, self);
|
||||
}
|
||||
|
||||
g_slist_free (connections);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue