Diff between c8bacaff6c8678da185eebc622ead14e1dddf445 and a1a7f09383d498a3cb18269e65258bde115eed2b
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/avctp.c | +1 | -1 | modified |
Full Patch
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index c192e21..5f8625c 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -549,9 +549,9 @@ static void avctp_channel_destroy(struct avctp_channel *chan)
chan->destroy(chan);
g_free(chan->buffer);
- g_slist_free_full(chan->queues, avctp_queue_destroy);
g_slist_foreach(chan->processed, pending_destroy, NULL);
g_slist_free(chan->processed);
+ g_slist_free_full(chan->queues, avctp_queue_destroy);
g_slist_free_full(chan->handlers, g_free);
g_free(chan);
}