Hi, It may be interesting to take in mind that some functions in sdp_lib such as sdp_list_append or sdp_list_insert_sorted can return NULL if there isn't enought memory. Grepping the code i saw sentences like next: ... ap = sdp_list_append(ap, pds); ... I think that it can result in a memory leak when the asignation return NULL over a not empty list. What do you think? 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