commit af5d46b22852f4ec1ca0d7c43c7a7e71292fe334 Author: Mike Lockwood <lockwood@xxxxxxxxxxx> Date: Thu Jan 8 13:34:06 2009 -0500 Fix a bogus pointer crash that occurred when reconnecting A2DP. Signed-off-by: Mike Lockwood <lockwood@xxxxxxxxxxx> diff --git a/audio/unix.c b/audio/unix.c index 1e4dd2d..ad31181 100644 --- a/audio/unix.c +++ b/audio/unix.c @@ -919,6 +919,7 @@ static int handle_a2dp_transport(struct unix_client *client, if (client->caps) { g_slist_foreach(client->caps, (GFunc) g_free, NULL); g_slist_free(client->caps); + client->caps = NULL; } media_transport = avdtp_service_cap_new(AVDTP_MEDIA_TRANSPORT, -- 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