diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-09 17:04:41 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-09 17:04:41 +0200 |
commit | b21840407a844d537de0a750a0d8afb948932db2 (patch) | |
tree | 26dd7754c869f3b628d269f09741e3caf303e3c7 /src/pulsecore/module.c | |
parent | 72f520f93c576facf8a49af28b764e1be8ee4ad5 (diff) |
fix bad memory access
Diffstat (limited to 'src/pulsecore/module.c')
-rw-r--r-- | src/pulsecore/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/module.c b/src/pulsecore/module.c index cf337465..29003af8 100644 --- a/src/pulsecore/module.c +++ b/src/pulsecore/module.c @@ -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))) |