mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
PVS-Studio static analysis corrections (1) issue #137
This commit is contained in:
@@ -93,9 +93,9 @@ void HttpConnectionHandlerPool::cleanup()
|
||||
{
|
||||
if (++idleCounter > maxIdleHandlers)
|
||||
{
|
||||
delete handler;
|
||||
pool.removeOne(handler);
|
||||
qDebug("HttpConnectionHandlerPool: Removed connection handler (%p), pool size is now %i",handler,pool.size());
|
||||
delete handler;
|
||||
break; // remove only one handler in each interval
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user