mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fix getservices:Resource leak: fd
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1718 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 59abea188a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-10-01 (Sat, 01 Oct 2011)
Origin message was:
------------------
-fix getservices:Resource leak: fd
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1718 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -847,8 +847,10 @@ bool CServiceManager::SaveCurrentServices(transponder_id_t tpid)
|
||||
}
|
||||
|
||||
sat_iterator_t spos_it = satellitePositions.find(satellitePosition);
|
||||
if(spos_it == satellitePositions.end())
|
||||
if(spos_it == satellitePositions.end()){
|
||||
fclose(fd);
|
||||
return false;
|
||||
}
|
||||
|
||||
switch (CFrontend::getInstance()->getInfo()->type) {
|
||||
case FE_QPSK: /* satellite */
|
||||
|
Reference in New Issue
Block a user