Commit c69f35d8 authored by Jean-Paul Saman's avatar Jean-Paul Saman

src/chain.c: dvbpsi_XXX_detach() functions already deletes the decoder.

Only when dvbpsi_decoder_t::pf_del() is not available dvbpsi_decoder_delete() is called
from this function.
parent 7e6b5cd7
......@@ -123,7 +123,7 @@ bool dvbpsi_decoder_chain_delete(dvbpsi_t *p_dvbpsi)
* which walks the list again. This is a waste of time and needs improvement
* on the mechanism on how to create/delete and attach/detach a subtable decoder.
*/
dvbpsi_decoder_delete(p_dec);
else dvbpsi_decoder_delete(p_dec);
}
p_dvbpsi->p_decoder = NULL;
return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment