Fix some leaks (#863)

This commit is contained in:
Murat Seker
2020-07-12 09:22:05 +02:00
committed by GitHub
parent dd98e245fe
commit 69561aea9d
7 changed files with 23 additions and 14 deletions

View File

@@ -22,9 +22,9 @@ PriorityMuxer::PriorityMuxer(int ledCount)
, _activeInputs()
, _lowestPriorityInfo()
, _sourceAutoSelectEnabled(true)
, _updateTimer(new QTimer())
, _timer(new QTimer())
, _blockTimer(new QTimer())
, _updateTimer(new QTimer(this))
, _timer(new QTimer(this))
, _blockTimer(new QTimer(this))
{
// init lowest priority info
_lowestPriorityInfo.priority = PriorityMuxer::LOWEST_PRIORITY;