Make find_thread_ptid lookup thread map instead of iterate
[deliverable/binutils-gdb.git] / bfd / mmo.c
index ca116aa42f003d4fc29a45863189c4980e2349de..9ac689d0424acf55df24689a7c1ed1a78804b428 100644 (file)
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -579,7 +579,7 @@ mmo_mkobject (bfd *abfd)
 
       /* All fields are zero-initialized, so we don't have to explicitly
         initialize most.  */
-      tdata_type *tdata = (tdata_type *) bfd_zmalloc (sizeof (tdata_type));
+      tdata_type *tdata = (tdata_type *) bfd_zalloc (abfd, sizeof (tdata_type));
       if (tdata == NULL)
        return FALSE;
 
This page took 0.024015 seconds and 4 git commands to generate.