Diff between fbc604f565fe1ed4993de0ab84fe81168017f2fb and 6c6c326f0634842ba7ab84cc262282e879b7da1c
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/obex.c | +1 | -0 | modified |
Full Patch
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 6fcf0f7..0e8bff0 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -906,6 +906,7 @@ gint obex_session_start(gint fd, struct server *server)
g_io_add_watch_full(io, G_PRIORITY_DEFAULT,
G_IO_IN | G_IO_HUP | G_IO_ERR | G_IO_NVAL,
obex_handle_input, obex, obex_handle_destroy);
+ g_io_channel_set_close_on_unref(io, TRUE);
g_io_channel_unref(io);
return 0;