dvbci.cpp: fix crash on service stop when more than one CI was used for this service
authorghost <andreas.monzner@multimedia-labs.de>
Mon, 22 Jun 2009 23:05:02 +0000 (01:05 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Mon, 22 Jun 2009 23:05:02 +0000 (01:05 +0200)
lib/dvb_ci/dvbci.cpp

index 037103c..bde394a 100644 (file)
@@ -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;
                        }