fix: fd leaked when reading recordings.epl
authorFelix Domke <tmbinc@elitedvb.net>
Fri, 31 Mar 2006 11:54:34 +0000 (11:54 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Fri, 31 Mar 2006 11:54:34 +0000 (11:54 +0000)
lib/dvb/metaparser.cpp

index aadc0bc..7d671ad 100644 (file)
@@ -108,6 +108,7 @@ int eDVBMetaParser::parseRecordings(const std::string &filename)
                        m_name = description;
                        m_description = "";
                        m_time_create = 0;
+                       fclose(f);
                        return 0;
                }
        }