summaryrefslogtreecommitdiff
path: root/src/devices/bluetooth/nm-bluez5-dun.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bluetooth/nm-bluez5-dun.c')
-rw-r--r--src/devices/bluetooth/nm-bluez5-dun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bluetooth/nm-bluez5-dun.c b/src/devices/bluetooth/nm-bluez5-dun.c
index 063c3db575..3ddfb0ef44 100644
--- a/src/devices/bluetooth/nm-bluez5-dun.c
+++ b/src/devices/bluetooth/nm-bluez5-dun.c
@@ -268,7 +268,7 @@ _connect_socket_connect_cb (GIOChannel *stream,
gpointer user_data)
{
NMBluez5DunContext *context = user_data;
- gs_free GError *error = NULL;
+ gs_free_error GError *error = NULL;
int errsv = 0;
socklen_t slen = sizeof(errsv);
int r;
@@ -471,7 +471,7 @@ _connect_sdp_search_io_cb (GIOChannel *io_channel,
gpointer user_data)
{
NMBluez5DunContext *context = user_data;
- gs_free GError *error = NULL;
+ gs_free_error GError *error = NULL;
int errsv;
if (condition & (G_IO_ERR | G_IO_HUP | G_IO_NVAL)) {