|
From: <sv...@va...> - 2016-10-10 19:33:44
|
Author: philippe
Date: Mon Oct 10 20:33:38 2016
New Revision: 16036
Log:
Fix corruption introduced by revision 16033
Modified:
trunk/coregrind/m_redir.c
Modified: trunk/coregrind/m_redir.c
==============================================================================
--- trunk/coregrind/m_redir.c (original)
+++ trunk/coregrind/m_redir.c Mon Oct 10 20:33:38 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);
}
|