summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/a2dp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/a2dp.c b/audio/a2dp.c
index bcd294da..d1f90fd1 100644
--- a/audio/a2dp.c
+++ b/audio/a2dp.c
@@ -774,6 +774,7 @@ gboolean a2dp_source_cancel_stream(int id)
return FALSE;
setup->cb = g_slist_remove(setup->cb, cb_data);
+ g_free(cb_data);
if (!setup->cb)
setup->canceled = TRUE;