Fix a leak of the abbrev hash table when --read-var-info=yes is given

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15590
This commit is contained in:
Philippe Waroquiers 2015-08-25 21:39:44 +00:00
parent cba6bd0b31
commit c65a4ee146

View File

@ -4590,8 +4590,9 @@ void new_dwarf3_reader_wrk (
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;
}