X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=utils.c;fp=utils.c;h=6e18f836ffb3308edf285b75b9ed0bcd9dbc8c11;hb=587104e6d5dea64e7b1eb2a8687ecbc5bde98c00;hp=a841e2ccbb813b640c4401e86f7b42e8a4ca1828;hpb=c37057813c150fa1857d8e975edde723339634d3;p=staging%2Fagl-audio-plugin.git diff --git a/utils.c b/utils.c index a841e2c..6e18f83 100644 --- a/utils.c +++ b/utils.c @@ -92,7 +92,7 @@ void agl_utils_destroy_null_sink (struct userdata *u, agl_null_sink *ns) if (u && (core = u->core)) { if ((module = pa_idxset_get_by_index (core->modules, ns->module_index))){ pa_log_info ("unloading null sink '%s'", ns->name); - pa_module_unload (core, module, false); + pa_module_unload (module, false); } pa_xfree (ns->name);