Fixes suggested by Bertrand

This commit is contained in:
Damjan Adamic
2014-04-15 18:47:47 +02:00
parent 5a522fac4b
commit 4850541002
5 changed files with 9 additions and 10 deletions
+1 -2
View File
@@ -1270,8 +1270,7 @@ class FirmwareInfo {
virtual ~FirmwareInfo()
{
//std::cout << "~FirmwareInfo(): id: " << id.toUtf8().constData() << " name: " << name.toUtf8().constData() << std::endl;
if (eepromInterface) delete eepromInterface;
delete eepromInterface;
}
FirmwareInfo(const QString & id, const QString & name, EEPROMInterface * eepromInterface, const QString & url = QString(), const QString & stamp = QString(), const QString & rnurl = QString(), bool voice = false):