btrace: split record_btrace_step_thread
[deliverable/binutils-gdb.git] / gdb / solib-aix.c
index 78d2753d46780fe90a59f05eca6b8572813b73c2..a1e6b8eee70ba79b1d55f67781b708c77e530b14 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2013-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2013-2015 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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.023782 seconds and 4 git commands to generate.