add a missing initialization that causes a crash when parsing invalid volume restoration tables (Problem identified by Luigi Auriemma, re #67)

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1451 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-05-23 17:12:07 +00:00
parent 33304ba118
commit 30c52e56c3

View file

@ -435,6 +435,7 @@ int pa__init(pa_core *c, pa_module*m) {
u->subscription = NULL; u->subscription = NULL;
u->table_file = pa_xstrdup(pa_modargs_get_value(ma, "table", NULL)); u->table_file = pa_xstrdup(pa_modargs_get_value(ma, "table", NULL));
u->modified = 0; u->modified = 0;
u->sink_input_hook_slot = u->source_output_hook_slot = NULL;
m->userdata = u; m->userdata = u;