Diff between 99f11aef6e94064b872eb4928ba0acad0b399217 and 0ea75ab4bb3ff96a50785cf2b9860011c49fd7b7
Changed Files
| File | Additions | Deletions | Status |
| attrib/gattrib.c | +1 | -0 | modified |
Full Patch
diff --git a/attrib/gattrib.c b/attrib/gattrib.c
index 2fd06e6..82a6133 100644
--- a/attrib/gattrib.c
+++ b/attrib/gattrib.c
@@ -108,6 +108,7 @@ GAttrib *g_attrib_new(GIOChannel *io, guint16 mtu)
if (!attr)
return NULL;
+ g_io_channel_set_close_on_unref(io, FALSE);
g_io_channel_ref(io);
attr->io = io;