Diff between 879efa424a1e984a22fe519de0d4f8b9c8cccdcf and d23fb32b8ef6acb29dded0e007dc8df13f7bac5e
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avctp.c | +3 | -0 | modified |
Full Patch
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index db3c34f..7a59cb1 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -390,6 +390,9 @@ static void avctp_channel_destroy(struct avctp_channel *chan)
if (chan->watch)
g_source_remove(chan->watch);
+ if (chan->p)
+ pending_destroy(chan->p, NULL);
+
if (chan->process_id > 0)
g_source_remove(chan->process_id);