projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8336078
)
module: 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
Arun Raghavan
<arun.raghavan@collabora.co.uk>
Mon, 3 Jun 2013 19:08:40 +0000
(
00:38
+0530)
m->init() was called while m->index was uninitialized, which was bad
style.
src/pulsecore/module.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/module.c
b/src/pulsecore/module.c
index
268d85d
..
6f276bb
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))) {
/* We used to print the error that is returned by lt_dlerror(), but