network: Fix small memory leak
This commit is contained in:
parent
e58a504174
commit
25963ccf8c
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ get_secrets_cb (GObject *source_object,
|
||||||
gpointer data)
|
gpointer data)
|
||||||
{
|
{
|
||||||
NetDeviceWifi *self = data;
|
NetDeviceWifi *self = data;
|
||||||
GVariant *secrets;
|
g_autoptr(GVariant) secrets = NULL;
|
||||||
g_autoptr(GError) error = NULL;
|
g_autoptr(GError) error = NULL;
|
||||||
|
|
||||||
secrets = nm_remote_connection_get_secrets_finish (NM_REMOTE_CONNECTION (source_object), res, &error);
|
secrets = nm_remote_connection_get_secrets_finish (NM_REMOTE_CONNECTION (source_object), res, &error);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue