shithub: openh264

Download patch

ref: 46ee46c1864e40aed477bdcde83c515448d1c03e
parent: d9e0f2b0239b3ebb54ca1c8bb574815ffcf740d1
author: Daniel J. Hofmann <[email protected]>
date: Tue Oct 14 19:57:54 EDT 2014

Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'

binary files /dev/null b/codec/console/enc/src/.welsenc.cpp.swp differ
--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -892,7 +892,7 @@
     pFileYUV = NULL;
   }
   if (pYUV) {
-    delete pYUV;
+    delete[] pYUV;
     pYUV = NULL;
   }
   if (pSrcPic) {