diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-27 09:29:18 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2017-06-27 09:42:28 +0200 |
commit | 65a0208ba0a6ef6faa6120dc537f9b5de6fecfad (patch) | |
tree | 9518b17ccb18869621bbe704baef6c79099f6a96 /src/supplicant | |
parent | 6405d1773053502a76140c2ee3b7ef51ec432ef1 (diff) | |
download | NetworkManager-65a0208ba0a6ef6faa6120dc537f9b5de6fecfad.tar.gz |
core,cli: replace wrong pattern for clearing GError
Use gs_free_error instead of gs_free.
Diffstat (limited to 'src/supplicant')
-rw-r--r-- | src/supplicant/nm-supplicant-interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/supplicant/nm-supplicant-interface.c b/src/supplicant/nm-supplicant-interface.c index a4681297d3..b90975fb21 100644 --- a/src/supplicant/nm-supplicant-interface.c +++ b/src/supplicant/nm-supplicant-interface.c @@ -1453,7 +1453,7 @@ nm_supplicant_interface_disconnect (NMSupplicantInterface * self) /* Cancel all pending calls related to a prior connection attempt */ if (priv->assoc_data) { - gs_free GError *error = NULL; + gs_free_error GError *error = NULL; nm_utils_error_set_cancelled (&error, FALSE, "NMSupplicantInterface"); assoc_return (self, error, "abort due to disconnect"); @@ -1949,7 +1949,7 @@ dispose (GObject *object) } if (priv->assoc_data) { - gs_free GError *error = NULL; + gs_free_error GError *error = NULL; nm_utils_error_set_cancelled (&error, TRUE, "NMSupplicantInterface"); assoc_return (self, error, "cancelled due to dispose of supplicant interface"); |