use XNEW and related macros more
[deliverable/binutils-gdb.git] / gas / config / tc-mmix.c
index d6992b480878fb683e3524e6eb9511ede71f725b..d3d971de8ee663dbca6cb8eef96d4fc58cb4c4b2 100644 (file)
@@ -3775,7 +3775,7 @@ mmix_frob_file (void)
 
       if (gregs == NULL)
        {
-         gregs = xmalloc (sizeof (*gregs));
+         gregs = XNEW (struct mmix_symbol_gregs);
          gregs->n_gregs = 0;
          symbol_set_tc (sym, &gregs);
          all_greg_symbols[n_greg_symbols++] = gregs;
This page took 0.025631 seconds and 4 git commands to generate.