summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-01-21 20:38:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-01-21 20:38:34 +0000
commit551b36630bf60e08b8a055e6f8ab8bbce0a6fc8c (patch)
tree56116f2f4a5d24840adfdcbaa046442e3b3a4fab /daemon
parent17518a93c3aa48b769ea0fb8a9573b64b2420039 (diff)
Unreference the IO channel from the main() function
Diffstat (limited to 'daemon')
-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;
}