summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ci.c b/ci.c
index a788781b..71623d88 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 4.8 2017/03/23 14:30:56 kls Exp $
+ * $Id: ci.c 4.9 2017/03/25 14:09:23 kls Exp $
*/
#include "ci.h"
@@ -1854,8 +1854,7 @@ cCamSlot::cCamSlot(cCiAdapter *CiAdapter, bool WantsTsData, cCamSlot *MasterSlot
cCamSlot::~cCamSlot()
{
- if (assignedDevice)
- assignedDevice->SetCamSlot(NULL);
+ Assign(NULL);
delete caPidReceiver;
delete caActivationReceiver;
CamSlots.Del(this, false);