From 123b1a8674e011056090a19936fba13dbe0cf841 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: May 07 2012 14:02:13 +0000 Subject: 3.7.0-3 --- diff --git a/valgrind-3.7.0-debug-types.patch b/valgrind-3.7.0-debug-types.patch index c4b7895..ec9c3a1 100644 --- a/valgrind-3.7.0-debug-types.patch +++ b/valgrind-3.7.0-debug-types.patch @@ -334,8 +334,8 @@ + ULong type_signature, + UWord die ) +{ -+ D3SignatureType *dstype = ML_(dinfo_zalloc) ( "di.readdwarf3.sigtype", -+ sizeof(D3SignatureType) ); ++ D3SignatureType *dstype = VG_(calloc) ( "di.readdwarf3.sigtype", ++ 1, sizeof(D3SignatureType) ); + dstype->data = (UWord) type_signature; + dstype->type_signature = type_signature; + dstype->die = die; @@ -962,7 +962,7 @@ + vg_assert( varparser.filenameTable == NULL ); + + /* And the signatured type hash. */ -+ VG_(HT_destruct) ( signature_types, ML_(dinfo_free) ); ++ VG_(HT_destruct) ( signature_types ); /* record the GExprs in di so they can be freed later */ vg_assert(!di->admin_gexprs);