zapit: bouquets fix closedir

This commit is contained in:
Jacek Jendrzej
2022-01-08 13:27:58 +01:00
parent 10a617b9dc
commit cb59e66b41

View File

@@ -1424,6 +1424,7 @@ void CBouquetManager::readEPGMapping()
if ((f.compare("epgmap.xml") == 0) || (f.find(".epgmap") != std::string::npos)) if ((f.compare("epgmap.xml") == 0) || (f.find(".epgmap") != std::string::npos))
epgmaps.push_back((*it) + "/" + f); epgmaps.push_back((*it) + "/" + f);
} }
closedir(dp);
} }
for (std::list<std::string>::iterator it = epgmaps.begin(); it != epgmaps.end(); ++it) for (std::list<std::string>::iterator it = epgmaps.begin(); it != epgmaps.end(); ++it)