add missing thread lock (segfault)
[enigma2.git] / lib / dvb / epgcache.cpp
index 3404f323667f602a5f0dfb9ca410330d7fe99d8e..0af14c6b9c7e2c8586592ff3942f06b84a08f007 100644 (file)
@@ -701,6 +701,7 @@ void eEPGCache::thread()
 
 void eEPGCache::load()
 {
+       singleLock s(cache_lock);
        FILE *f = fopen("/hdd/epg.dat", "r");
        if (f)
        {