From: =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau <frederic.dalleau@linux.intel.com>
To: ofono@ofono.org
Subject: [PATCH 1/2] emulator: unref GIOChannel after creation
Date: Thu, 17 Feb 2011 16:55:25 +0100 [thread overview]
Message-ID: <1297958126-9156-2-git-send-email-frederic.dalleau@linux.intel.com> (raw)
In-Reply-To: <1297958126-9156-1-git-send-email-frederic.dalleau@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 524 bytes --]
---
src/emulator.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/emulator.c b/src/emulator.c
index 567692d..5744903 100644
--- a/src/emulator.c
+++ b/src/emulator.c
@@ -75,6 +75,8 @@ void ofono_emulator_register(struct ofono_emulator *em, int fd)
if (em->server == NULL)
return;
+ g_io_channel_unref(io);
+
g_at_server_set_debug(em->server, emulator_debug, "Server");
g_at_server_set_disconnect_function(em->server,
emulator_disconnect, em);
--
1.7.1
next prev parent reply other threads:[~2011-02-17 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-17 15:55 [PATCH 0/2] Fix reference handling in hfp_ag =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
2011-02-17 15:55 ` =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau [this message]
2011-02-17 15:55 ` [PATCH 2/2] hfp_ag: Do not close client fd on unref =?unknown-8bit?q?Fr=C3=A9d=C3=A9ric?= Dalleau
2011-02-17 16:08 ` [PATCH 0/2] Fix reference handling in hfp_ag Denis Kenzior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1297958126-9156-2-git-send-email-frederic.dalleau@linux.intel.com \
--to=frederic.dalleau@linux.intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox