2011/10/10 Antonio Ospite: > +char *btd_manager_get_default_adapter_str(void) > + char *str = bt_malloc(18); > + > + adapter = manager_get_default_adapter(); > + if (adapter == NULL) { > + return NULL; you are leaking str if you return here -- Daniele Forsi -- 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