Hi Zhenhua, > Attached is the patch to unref GIOChannel in g_at_chat_new_from_tty. If the > GAtChat is created from g_at_chat_new, the reference count of channel is > increased by g_io_add_watch_full(channel), so we need to unref it. > > If GAtChat is failed to create, we also need to unref channel to free it.
patch has been applied. Thanks. Regards Marcel _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono