mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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)
|
||||
{
|
||||
struct client *client = ps->client;
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue