fix shutdown when --disallow-module-loading=1 is passed

This commit is contained in:
Lennart Poettering 2008-08-05 23:56:25 +02:00
parent ca127532fc
commit 34dd4a20f2
26 changed files with 62 additions and 58 deletions

View file

@ -489,7 +489,7 @@ static void sink_input_kill_cb(pa_sink_input *i) {
pa_sink_input_assert_ref(i);
pa_assert(o = i->userdata);
pa_module_unload_request(o->userdata->module);
pa_module_unload_request(o->userdata->module, TRUE);
output_free(o);
}