summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--dvbapi.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 42c4b8b1..5a75e495 100644
--- a/HISTORY
+++ b/HISTORY
@@ -858,3 +858,4 @@ Video Disk Recorder Revision History
disable automatic shutdown.
- Added a fifth parameter to the 'shutdown' call that indicates the reason for
this shutdown request (see INSTALL).
+- Fixed releasing 'index' memory after recording or playback.
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)