Free the host_nodes list in fx destructor to prevent memory leaks

This commit is contained in:
Marcus Weseloh 2021-03-07 12:18:47 +01:00
parent 4ec1f799f8
commit 17c355ffaf

View file

@ -244,6 +244,7 @@ void delete_fluid_ladspa_fx(fluid_ladspa_fx_t *fx)
node = (fluid_ladspa_node_t *) fluid_list_get(list);
delete_fluid_ladspa_node(node);
}
delete_fluid_list(fx->host_nodes);
if(fx->run_finished_cond != NULL)
{