mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: don't deref freed pending_sample
This commit is contained in:
parent
0475adbd35
commit
d6a2b21fbe
1 changed files with 2 additions and 1 deletions
|
|
@ -2329,8 +2329,9 @@ static struct pw_manager_object *find_device(struct client *client,
|
||||||
|
|
||||||
static void sample_play_finish(struct pending_sample *ps)
|
static void sample_play_finish(struct pending_sample *ps)
|
||||||
{
|
{
|
||||||
|
struct client *client = ps->client;
|
||||||
pending_sample_free(ps);
|
pending_sample_free(ps);
|
||||||
client_unref(ps->client);
|
client_unref(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sample_play_ready_reply(void *data, struct client *client, uint32_t tag)
|
static void sample_play_ready_reply(void *data, struct client *client, uint32_t tag)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue