|
From: <sv...@va...> - 2016-10-17 19:21:59
|
Author: sewardj
Date: Mon Oct 17 20:21:53 2016
New Revision: 16061
Log:
Merge from trunk:
16036 Fix corruption introduced by revision 16033
Modified:
branches/VALGRIND_3_12_BRANCH/ (props changed)
branches/VALGRIND_3_12_BRANCH/coregrind/m_redir.c
Modified: branches/VALGRIND_3_12_BRANCH/coregrind/m_redir.c
==============================================================================
--- branches/VALGRIND_3_12_BRANCH/coregrind/m_redir.c (original)
+++ branches/VALGRIND_3_12_BRANCH/coregrind/m_redir.c Mon Oct 17 20:21:53 2016
@@ -1821,7 +1821,7 @@
/* All required specs were found. Just free memory and return. */
for (i = 0; i < VG_(sizeXA)(fnpatts); i++)
- VG_(free)(VG_(indexXA)(fnpatts, i));
+ VG_(free)(*(HChar**) VG_(indexXA)(fnpatts, i));
VG_(deleteXA)(fnpatts);
}
|