mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-06 06:46:29 -04: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);
|
spa_list_remove(&msg->link);
|
||||||
free(msg);
|
free(msg);
|
||||||
}
|
}
|
||||||
|
spa_list_consume(msg, &client->pending, link) {
|
||||||
|
spa_list_remove(&msg->link);
|
||||||
|
free(msg);
|
||||||
|
}
|
||||||
pw_rtsp_client_emit_disconnected(client);
|
pw_rtsp_client_emit_disconnected(client);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue