mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
module: initialize module index to invalid value.
m->init() was called while m->index was uninitialized, which was bad style.
This commit is contained in:
parent
8336078afa
commit
55571f8999
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ pa_module* pa_module_load(pa_core *c, const char *name, const char *argument) {
|
|||
m->argument = pa_xstrdup(argument);
|
||||
m->load_once = FALSE;
|
||||
m->proplist = pa_proplist_new();
|
||||
m->index = PA_IDXSET_INVALID;
|
||||
|
||||
if (!(m->dl = lt_dlopenext(name))) {
|
||||
/* We used to print the error that is returned by lt_dlerror(), but
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue