Hi Andrei, 2012/2/8 Andrei Emeltchenko <andrei.emeltchenko.news@xxxxxxxxx>: > Hi Santiago, > > On Tue, Feb 07, 2012 at 02:26:44PM +0100, Santiago Carot-Nemesio wrote: >> Channel is not being released when the channel is attached over >> an uninitialized GATT server. >> --- >> src/attrib-server.c | 8 +++++++- >> 1 files changed, 7 insertions(+), 1 deletions(-) >> >> diff --git a/src/attrib-server.c b/src/attrib-server.c >> index 2995167..e51f695 100644 >> --- a/src/attrib-server.c >> +++ b/src/attrib-server.c >> @@ -1020,8 +1020,14 @@ guint attrib_channel_attach(GAttrib *attrib, gboolean out) >> } >> >> server = find_gatt_server(&channel->src); >> - if (server == NULL) >> + if (server == NULL) { >> + char src[18]; > > Don't we have a good define for this magic number? I saw it in several > places. > That's a good point, I've also seen it in too many places but I don't know if there is any macro for that, at least I didn't see it. Regards. -- 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