mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-06 12:38:12 +02:00
raop: free pending messages
This commit is contained in:
parent
7ab2b7d24a
commit
4cf5acf18d
1 changed files with 4 additions and 0 deletions
|
|
@ -580,6 +580,10 @@ int pw_rtsp_client_disconnect(struct pw_rtsp_client *client)
|
|||
spa_list_remove(&msg->link);
|
||||
free(msg);
|
||||
}
|
||||
spa_list_consume(msg, &client->pending, link) {
|
||||
spa_list_remove(&msg->link);
|
||||
free(msg);
|
||||
}
|
||||
pw_rtsp_client_emit_disconnected(client);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue