mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-26 07:35:40 +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()
|
CMultiInputSource::~CMultiInputSource()
|
||||||
{
|
{
|
||||||
if (m_srcArray != NULL)
|
if (m_srcArray != NULL)
|
||||||
delete m_srcArray;
|
delete [] m_srcArray;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CMultiInputSource::Acquire()
|
void CMultiInputSource::Acquire()
|
||||||
|
|
Loading…
Reference in a new issue