--- 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 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono