From c31e701e73776d05d7e233bd93cb0364bc2fc453 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 3 Nov 2001 12:52:39 +0100 Subject: Fixed releasing 'index' memory after recording or playback --- dvbapi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dvbapi.c') 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 * based on dvdplayer-0.5 by Matjaz Thaler * - * $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) -- cgit v1.2.3