From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> --- android/a2dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/a2dp.c b/android/a2dp.c index 7f16be8..74d0082 100644 --- a/android/a2dp.c +++ b/android/a2dp.c @@ -312,8 +312,8 @@ static sdp_record_t *a2dp_record(void) sdp_set_info_attr(record, "Audio Source", NULL, NULL); - free(psm); - free(version); + sdp_data_free(psm); + sdp_data_free(version); sdp_list_free(proto[0], NULL); sdp_list_free(proto[1], NULL); sdp_list_free(apseq, NULL); -- 1.7.10.4 -- 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