Diff between 6c729fd1ec29c0d19bce15f0e31aef7e0398e726 and 4cadf1d19804521b5f9335179a15964a0cc05ca5

Changed Files

File Additions Deletions Status
audio/a2dp.c +1 -0 modified

Full Patch

diff --git a/audio/a2dp.c b/audio/a2dp.c
index 09b6572..47be7fd 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -710,6 +710,7 @@ static gboolean endpoint_setconf_ind(struct avdtp *session,
 		if (ret == 0)
 			return TRUE;
 
+		setup->err = g_new(struct avdtp_error, 1);
 		avdtp_error_init(setup->err, AVDTP_MEDIA_CODEC,
 					AVDTP_UNSUPPORTED_CONFIGURATION);
 		break;