On Thu, 2012-10-04 at 14:07 -0300, Lucas De Marchi wrote: > - for (l = device->profiles; l != NULL; l = g_slist_next(l)) { > + for (l = device->profiles; l != NULL; l = next) { + for (l = device->profiles; l != NULL; l = l->next) { > struct btd_profile *profile = l->data; > GSList *probe_uuids; > > + next = l->next; Remove. -- 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