[valgrind] 3.7.0-3

Jakub Jelinek jakub at fedoraproject.org
Mon May 7 14:03:18 UTC 2012


commit 123b1a8674e011056090a19936fba13dbe0cf841
Author: Jakub Jelinek <jakub at redhat.com>
Date:   Mon May 7 11:54:51 2012 +0200

    3.7.0-3

 valgrind-3.7.0-debug-types.patch |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
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);


More information about the scm-commits mailing list