projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf510cc
)
module loading: initialize module index to invalid value.
author
Ismo Puustinen
<ismo.puustinen@intel.com>
Fri, 12 Apr 2013 14:38:12 +0000
(17:38 +0300)
committer
Jaska Uimonen
<jaska.uimonen@intel.com>
Mon, 15 Apr 2013 12:06:04 +0000
(15:06 +0300)
src/pulsecore/module.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/module.c
b/src/pulsecore/module.c
index
8b3ff8f
..
3e7e4d0
100644
(file)
--- 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());