ref: 19dcff86167880ec2f32d980ad58cf47664e71f6
parent: 68e92f9eb6886dae98c131390c6a37ad22b8096c
parent: 58eba54e8c2b9ce11ed010198a32fdb78757144c
author: Ethan Hugg <ethanhugg@gmail.com>
date: Tue Sep 16 04:38:20 EDT 2014
Merge pull request #1360 from mstorsjo/use-correct-delete Use the correct version of delete within a unit test
--- a/test/api/encode_decode_api_test.cpp
+++ b/test/api/encode_decode_api_test.cpp
@@ -405,7 +405,7 @@
memset ((void*)pSrc, 0, iSrcLen);
memcpy ((void*)pSrc, pDst, iDstLen);
iSrcLen = iDstLen;
- delete pDst;
+ delete [] pDst;
return iSkipedBytes;
}