Fixed coverity warnings for class AT_CellularDevice.

pull/6496/head
Teppo Järvelin 2018-03-20 15:17:08 +02:00
parent 0ebfa35d7b
commit af0de8ece0
1 changed files with 0 additions and 2 deletions

View File

@ -41,7 +41,6 @@ AT_CellularDevice::~AT_CellularDevice()
ATHandler *old = atHandler;
atHandler = atHandler->_nextATHandler;
delete old;
old = NULL;
}
}
@ -90,7 +89,6 @@ void AT_CellularDevice::release_at_handler(ATHandler* at_handler)
prev->_nextATHandler = atHandler->_nextATHandler;
}
delete atHandler;
atHandler = NULL;
break;
} else {
prev = atHandler;