From 551b36630bf60e08b8a055e6f8ab8bbce0a6fc8c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 21 Jan 2007 20:38:34 +0000 Subject: [PATCH] Unreference the IO channel from the main() function --- daemon/echo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/echo.c b/daemon/echo.c index 91fd4ab33..066d67064 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; }