summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index 2a507c58..457e0c0c 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -878,7 +878,7 @@ struct server *bluetooth_register_server(guint8 channel, const char *sdp_record,
ConnectFunc cb, gpointer user_data)
{
struct server *server;
- GError *err;
+ GError *err = NULL;
server = g_try_new0(struct server, 1);
if (!server)