diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index 90509e067..a5cf5f597 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -1424,6 +1424,7 @@ void CBouquetManager::readEPGMapping() if ((f.compare("epgmap.xml") == 0) || (f.find(".epgmap") != std::string::npos)) epgmaps.push_back((*it) + "/" + f); } + closedir(dp); } for (std::list::iterator it = epgmaps.begin(); it != epgmaps.end(); ++it)