Inputs/MultiInputSource.cpp: fixed mismatching allocation and deallocation

Detected by Cppcheck:
```
Src/Inputs/MultiInputSource.cpp:87:3: error: Mismatching allocation and deallocation: CMultiInputSource::m_srcArray [mismatchAllocDealloc]
  delete m_srcArray;
  ^
```
This commit is contained in:
firewave 2023-12-02 20:14:12 +01:00
parent 5332d8f945
commit 1cc94b7d79

View file

@ -84,7 +84,7 @@ CMultiInputSource::CMultiInputSource(bool isOr, vector<CInputSource*> &sources)
CMultiInputSource::~CMultiInputSource()
{
if (m_srcArray != NULL)
delete m_srcArray;
delete [] m_srcArray;
}
void CMultiInputSource::Acquire()