Merge pull request #117 from firewave/mismatch

Inputs/MultiInputSource.cpp: fixed mismatching allocation and deallocation
This commit is contained in:
dukeeeey 2023-12-03 18:17:12 +00:00 committed by GitHub
commit 11e9b14e73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()