summaryrefslogtreecommitdiff
path: root/xmltv2vdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xmltv2vdr.h')
-rw-r--r--xmltv2vdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmltv2vdr.h b/xmltv2vdr.h
index 1570d0c..c7cc00b 100644
--- a/xmltv2vdr.h
+++ b/xmltv2vdr.h
@@ -190,11 +190,11 @@ public:
char *GetDefaultOrder();
void AllocateEPGTimerThread()
{
- epgtimer=new cEPGTimer(this);
+ if (!epgtimer) epgtimer=new cEPGTimer(this);
}
void AllocateEPGSeasonThread()
{
- epgseasonepisode=new cEPGSeasonEpisode(this);
+ if (!epgseasonepisode) epgseasonepisode=new cEPGSeasonEpisode(this);
}
cEPGSeasonEpisode *EPGSeasonEpisode()
{