summaryrefslogtreecommitdiff
path: root/mtd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2017-03-25 14:09:31 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2017-03-25 14:09:31 +0100
commitfe57c16f6ff353f2692d9c4ccee1c01d3b476e38 (patch)
treedd2e6fc5238b41439f364fab5bb5945f13983837 /mtd.c
parent2d9eb7e25dc08d700b5d2c97d0baf36d5aa35f96 (diff)
downloadvdr-fe57c16f6ff353f2692d9c4ccee1c01d3b476e38.tar.gz
vdr-fe57c16f6ff353f2692d9c4ccee1c01d3b476e38.tar.bz2
Fixed a crash when stopping VDR while recording encrypted channels with MTD
Diffstat (limited to 'mtd.c')
-rw-r--r--mtd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mtd.c b/mtd.c
index a09f0162..2fa55626 100644
--- a/mtd.c
+++ b/mtd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: mtd.c 1.4 2017/03/23 14:34:53 kls Exp $
+ * $Id: mtd.c 1.5 2017/03/25 14:09:31 kls Exp $
*/
#include "mtd.h"
@@ -235,6 +235,7 @@ cMtdCamSlot::cMtdCamSlot(cCamSlot *MasterSlot, int Index)
cMtdCamSlot::~cMtdCamSlot()
{
+ Assign(NULL);
delete mtdMapper;
delete mtdBuffer;
}