From: Lennart Poettering Date: Wed, 17 Dec 2008 20:27:07 +0000 (+0100) Subject: unload tunnel modules from a new stack frame X-Git-Tag: submit/2.0-panda/20130828.192557~2540 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5d40fa44851b39ebf14452d06fc7669d6bc4b88;p=profile%2Fivi%2Fpulseaudio-panda.git unload tunnel modules from a new stack frame --- diff --git a/src/modules/module-zeroconf-discover.c b/src/modules/module-zeroconf-discover.c index c8087ab..9a867cb 100644 --- a/src/modules/module-zeroconf-discover.c +++ b/src/modules/module-zeroconf-discover.c @@ -286,7 +286,7 @@ static void browser_cb( struct tunnel *t2; if ((t2 = pa_hashmap_get(u->tunnels, t))) { - pa_module_unload_by_index(u->core, t2->module_index, TRUE); + pa_module_unload_request_by_index(u->core, t2->module_index, TRUE); pa_hashmap_remove(u->tunnels, t2); tunnel_free(t2); } @@ -427,7 +427,7 @@ void pa__done(pa_module*m) { struct tunnel *t; while ((t = pa_hashmap_steal_first(u->tunnels))) { - pa_module_unload_by_index(u->core, t->module_index, TRUE); + pa_module_unload_request_by_index(u->core, t->module_index, TRUE); tunnel_free(t); }