Diff between 8486b4cd24f9aac0af9ed63acb1ca2f4d3778e26 and 390c2b0885bfb3d301a50b4959e50c31de52b91c

Changed Files

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

Full Patch

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 0d877b1..1b92352 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1719,7 +1719,7 @@ static int a2dp_reconfig(struct a2dp_channel *chan, const char *sender,
 	return 0;
 
 fail:
-	setup_unref(setup);
+	setup_cb_free(cb_data);
 	return err;
 }