Hi Johan, > Sorry to keep pushing for further iterations of this patch, but I think > it'd be good to split this into two separate changes: first one for the > io code and a second one for ATT. > No worries, will do in the next patch set. > Looking at how shared/io-glib.c does this (which I assume you've > verified doesn't need fixing) another (and possibly even better) > approach is to do the ref when adding the fd to the mainloop and the > unref in the destroy callback. I'll leave it up to you to choose which > one you want to go with. Ah, I see. I think that's a better approach and it's consistent with io-glib, so I'll go with your suggestion. -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html