summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 2d873bd4..c3ed6f96 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -555,6 +555,9 @@ static void stream_free(struct avdtp_stream *stream)
if (stream->timer)
g_source_remove(stream->timer);
+ if (stream->io)
+ g_source_remove(stream->io);
+
g_slist_foreach(stream->callbacks, (GFunc) g_free, NULL);
g_slist_free(stream->callbacks);