Merge pull request #1360 from mstorsjo/use-correct-delete

Use the correct version of delete within a unit test
This commit is contained in:
Ethan Hugg
2014-09-16 08:38:20 -07:00

View File

@@ -405,7 +405,7 @@ int SimulateNALLoss (const unsigned char* pSrc, int& iSrcLen, std::vector<SLost
memset ((void*)pSrc, 0, iSrcLen);
memcpy ((void*)pSrc, pDst, iDstLen);
iSrcLen = iDstLen;
delete pDst;
delete [] pDst;
return iSkipedBytes;
}