mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed releasing 'index' memory after recording or playback
This commit is contained in:
parent
78d1fe10a4
commit
c31e701e73
1
HISTORY
1
HISTORY
@ -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.
|
||||||
|
3
dvbapi.c
3
dvbapi.c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user