|
From: <sv...@va...> - 2015-08-25 21:39:52
|
Author: philippe
Date: Tue Aug 25 22:39:44 2015
New Revision: 15590
Log:
Fix a leak of the abbrev hash table when --read-var-info=yes is given
Modified:
trunk/coregrind/m_debuginfo/readdwarf3.c
Modified: trunk/coregrind/m_debuginfo/readdwarf3.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readdwarf3.c (original)
+++ trunk/coregrind/m_debuginfo/readdwarf3.c Tue Aug 25 22:39:44 2015
@@ -4590,8 +4590,9 @@
cu_offset_now = (cu_start_offset + cc.unit_length
+ (cc.is_dw64 ? 12 : 4));
+ clear_CUConst ( &cc);
+
if (cu_offset_now >= escn_debug_types.szB) {
- clear_CUConst ( &cc);
break;
}
|