summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-11-03 12:52:39 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2001-11-03 12:52:39 +0100
commitc31e701e73776d05d7e233bd93cb0364bc2fc453 (patch)
tree6c1670d7aee3983790e86e617eb1c55dbbbd2eea /dvbapi.c
parent78d1fe10a449fa080f515216b9016b6d8e00fa1b (diff)
downloadvdr-c31e701e73776d05d7e233bd93cb0364bc2fc453.tar.gz
vdr-c31e701e73776d05d7e233bd93cb0364bc2fc453.tar.bz2
Fixed releasing 'index' memory after recording or playback
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dvbapi.c b/dvbapi.c
index 111d77de..5dbb98a7 100644
--- a/dvbapi.c
+++ b/dvbapi.c
@@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si>
*
- * $Id: dvbapi.c 1.134 2001/11/03 10:59:34 kls Exp $
+ * $Id: dvbapi.c 1.135 2001/11/03 12:46:45 kls Exp $
*/
//#define DVDDEBUG 1
@@ -200,6 +200,7 @@ cIndexFile::~cIndexFile()
if (f >= 0)
close(f);
delete fileName;
+ delete index;
}
bool cIndexFile::CatchUp(int Index)