mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
fix bad memory access
This commit is contained in:
parent
72f520f93c
commit
b21840407a
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ void pa_module_unload_by_index(pa_core *c, uint32_t idx, pa_bool_t force) {
|
|||
pa_assert(c);
|
||||
pa_assert(idx != PA_IDXSET_INVALID);
|
||||
|
||||
if (m->core->disallow_module_loading && !force)
|
||||
if (c->disallow_module_loading && !force)
|
||||
return;
|
||||
|
||||
if (!(m = pa_idxset_remove_by_index(c->modules, idx)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue