mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 13:55:38 +00:00
Merge pull request #117 from firewave/mismatch
Inputs/MultiInputSource.cpp: fixed mismatching allocation and deallocation
This commit is contained in:
commit
11e9b14e73
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue