Fixed releasing 'index' memory after recording or playback

This commit is contained in:
Klaus Schmidinger 2001-11-03 12:52:39 +01:00
parent 78d1fe10a4
commit c31e701e73
2 changed files with 3 additions and 1 deletions

View File

@ -858,3 +858,4 @@ Video Disk Recorder Revision History
disable automatic shutdown. disable automatic shutdown.
- Added a fifth parameter to the 'shutdown' call that indicates the reason for - Added a fifth parameter to the 'shutdown' call that indicates the reason for
this shutdown request (see INSTALL). this shutdown request (see INSTALL).
- Fixed releasing 'index' memory after recording or playback.

View File

@ -7,7 +7,7 @@
* DVD support initially written by Andreas Schultz <aschultz@warp10.net> * DVD support initially written by Andreas Schultz <aschultz@warp10.net>
* based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si> * 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 //#define DVDDEBUG 1
@ -200,6 +200,7 @@ cIndexFile::~cIndexFile()
if (f >= 0) if (f >= 0)
close(f); close(f);
delete fileName; delete fileName;
delete index;
} }
bool cIndexFile::CatchUp(int Index) bool cIndexFile::CatchUp(int Index)