From 529fc7b48aa8e2d6f3b66b1f0a473ee7bbad16c2 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 30 Apr 2006 18:00:00 +0200 Subject: Version 1.4.0 - Fixed handling the "Power" key in case a recording is going on and no plugin is active (thanks to Udo Richter; bug reported by Dominique Simon). - Updated the Polish OSD texts (thanks to Jaroslaw Swierczynski). - Fixed a memory leak in handling external EPG data (thanks to Tobias Grimm). - Fixed a memory leak in closing the video file during replay (thanks to Tobias Grimm). - Updated the Italian OSD texts (thanks to Nino Gerbino and Antonio Ospite). - Updated the Estonian OSD texts (thanks to Arthur Konovalov). --- eit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'eit.c') diff --git a/eit.c b/eit.c index c33dbef..39567f8 100644 --- a/eit.c +++ b/eit.c @@ -8,7 +8,7 @@ * Robert Schneider and Rolf Hakenes . * Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg . * - * $Id: eit.c 1.116 2006/04/15 14:11:52 kls Exp $ + * $Id: eit.c 1.117 2006/04/29 11:38:37 kls Exp $ */ #include "eit.h" @@ -103,8 +103,10 @@ cEIT::cEIT(cSchedules *Schedules, int Source, u_char Tid, const u_char *Data) cLinkChannels *LinkChannels = NULL; cComponents *Components = NULL; for (SI::Loop::Iterator it2; (d = SiEitEvent.eventDescriptors.getNext(it2)); ) { - if (ExternalData && d->getDescriptorTag() != SI::ComponentDescriptorTag) + if (ExternalData && d->getDescriptorTag() != SI::ComponentDescriptorTag) { + delete d; continue; + } switch (d->getDescriptorTag()) { case SI::ExtendedEventDescriptorTag: { SI::ExtendedEventDescriptor *eed = (SI::ExtendedEventDescriptor *)d; -- cgit v1.2.3