mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
fix bad memory access
This commit is contained in:
parent
0b0b3d895d
commit
aeb0707f12
1 changed files with 2 additions and 1 deletions
|
|
@ -88,9 +88,10 @@ void pa_client_free(pa_client *c) {
|
|||
pa_assert(c);
|
||||
pa_assert(c->core);
|
||||
|
||||
core = c->core;
|
||||
|
||||
pa_hook_fire(&core->hooks[PA_CORE_HOOK_CLIENT_UNLINK], c);
|
||||
|
||||
core = c->core;
|
||||
pa_idxset_remove_by_data(c->core->clients, c, NULL);
|
||||
|
||||
pa_log_info("Freed %u \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLICATION_NAME)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue