use XNEW and related macros more
[deliverable/binutils-gdb.git] / gas / config / tc-crx.c
index 7993e728a5b34cda6dacbc5acceaae861a015730..4b829c2560f7906065fe921d31c60da9efb7ca1d 100644 (file)
@@ -1765,7 +1765,7 @@ preprocess_reglist (char *param, int *allocated)
 
   while (*paramP++ != '{');
 
-  new_param = (char *)xcalloc (MAX_INST_LEN, sizeof (char));
+  new_param = XCNEWVEC (char, MAX_INST_LEN);
   *allocated = 1;
   strncpy (new_param, param, paramP - param - 1);
 
This page took 0.025549 seconds and 4 git commands to generate.