summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmo Puustinen <ismo.puustinen@intel.com>2013-04-12 17:38:12 +0300
committerJaska Uimonen <jaska.uimonen@intel.com>2013-04-15 15:06:04 +0300
commit47872a16e8d3ffabb8b0c9c704f0491380a9a5bc (patch)
treeba469663cc86623dbe532556ff6ea4c1974623dd
parentbf510cc11109c6344054a527b2d4ae9c14d1882c (diff)
downloadpulseaudio-panda-47872a16e8d3ffabb8b0c9c704f0491380a9a5bc.tar.gz
pulseaudio-panda-47872a16e8d3ffabb8b0c9c704f0491380a9a5bc.tar.bz2
pulseaudio-panda-47872a16e8d3ffabb8b0c9c704f0491380a9a5bc.zip
module loading: initialize module index to invalid value.
-rw-r--r--src/pulsecore/module.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/module.c b/src/pulsecore/module.c
index 8b3ff8f5..3e7e4d0b 100644
--- a/src/pulsecore/module.c
+++ b/src/pulsecore/module.c
@@ -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))) {
pa_log("Failed to open module \"%s\": %s", name, lt_dlerror());