diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-05-23 17:12:07 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-05-23 17:12:07 +0000 |
commit | 30c52e56c34268d992384aa0cd3370150d90ec43 (patch) | |
tree | 088328bc22e6e7f78ab5a443646b257ee8446f08 | |
parent | 33304ba1181bde267c8a54f6587778fe0cfd28b6 (diff) |
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
-rw-r--r-- | src/modules/module-volume-restore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/module-volume-restore.c b/src/modules/module-volume-restore.c index 0df270df..61a17aef 100644 --- a/src/modules/module-volume-restore.c +++ b/src/modules/module-volume-restore.c @@ -435,6 +435,7 @@ int pa__init(pa_core *c, pa_module*m) { u->subscription = NULL; u->table_file = pa_xstrdup(pa_modargs_get_value(ma, "table", NULL)); u->modified = 0; + u->sink_input_hook_slot = u->source_output_hook_slot = NULL; m->userdata = u; |