summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/echo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/daemon/echo.c b/daemon/echo.c
index 91fd4ab3..066d6706 100644
--- a/daemon/echo.c
+++ b/daemon/echo.c
@@ -120,8 +120,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;
}