summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index b3ae7bac..bc021d6c 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -1852,7 +1852,7 @@ static void avdtp_connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
BT_IO_OPT_INVALID);
if (gerr) {
error("%s", gerr->message);
- g_clear_error(&gerr);
+ g_error_free(gerr);
goto failed;
}