Replace some xmalloc-family functions with XNEW-family ones
[deliverable/binutils-gdb.git] / gdb / solib-aix.c
index 99258f6065ab1e165eb4df4708fa28239eddb26b..a1e6b8eee70ba79b1d55f67781b708c77e530b14 100644 (file)
@@ -66,7 +66,7 @@ DEF_VEC_P(lm_info_p);
 static struct lm_info *
 solib_aix_new_lm_info (struct lm_info *info)
 {
-  struct lm_info *result = xmalloc (sizeof (struct lm_info));
+  struct lm_info *result = XNEW (struct lm_info);
 
   memcpy (result, info, sizeof (struct lm_info));
   result->filename = xstrdup (info->filename);
This page took 0.024997 seconds and 4 git commands to generate.