shithub: openh264

Download patch

ref: eceb4e51ada31e04f4b73ca8bff0e09ea7c9b020
parent: 88e7637a33838cb1019de3ec8360c0285a45ab4b
parent: 01322d11ff20106fde5786c33586ecb4bb5697ba
author: ruil2 <ruil2@cisco.com>
date: Tue Jun 10 06:22:37 EDT 2014

Merge pull request #933 from huili2/fix_bug_UT_GetIntraPred

fix memory leak in EncUT_GetIntraPredictor

--- a/test/encoder/EncUT_GetIntraPredictor.cpp
+++ b/test/encoder/EncUT_GetIntraPredictor.cpp
@@ -509,7 +509,9 @@
   }
 
   pRef -= kiStride + 1;
+  pPred -= (iPredStride * 16);
   delete []pRef;
+  delete []pPred;
 }
 
 TEST(GetIntraPredictorTest, TestGetI16x16LumaPredDc) {