summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--transfer/server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/transfer/server.c b/transfer/server.c
index 028fe050..5e24657e 100644
--- a/transfer/server.c
+++ b/transfer/server.c
@@ -105,8 +105,6 @@ static GIOChannel *setup_rfcomm(uint8_t channel)
g_io_add_watch(io, G_IO_IN, connect_event, NULL);
- g_io_channel_unref(io);
-
return io;
}