From 72ea8cbfab4454adee8aebab4258d054f3e8f32c Mon Sep 17 00:00:00 2001 From: ghost Date: Tue, 23 Jun 2009 01:05:02 +0200 Subject: [PATCH] dvbci.cpp: fix crash on service stop when more than one CI was used for this service --- lib/dvb_ci/dvbci.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp index 037103cf..bde394aa 100644 --- a/lib/dvb_ci/dvbci.cpp +++ b/lib/dvb_ci/dvbci.cpp @@ -605,6 +605,8 @@ void eDVBCIInterfaces::removePMTHandler(eDVBServicePMTHandler *pmthandler) else tmp->linked_next = 0; } + else // removed old base slot.. update ptr + base_slot = slot->linked_next; slot->linked_next = 0; slot->user_mapped = false; } -- 2.30.2