diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-25 14:09:31 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2017-03-25 14:09:31 +0100 |
commit | fe57c16f6ff353f2692d9c4ccee1c01d3b476e38 (patch) | |
tree | dd2e6fc5238b41439f364fab5bb5945f13983837 /ci.c | |
parent | 2d9eb7e25dc08d700b5d2c97d0baf36d5aa35f96 (diff) | |
download | vdr-fe57c16f6ff353f2692d9c4ccee1c01d3b476e38.tar.gz vdr-fe57c16f6ff353f2692d9c4ccee1c01d3b476e38.tar.bz2 |
Fixed a crash when stopping VDR while recording encrypted channels with MTD
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |