* sim-base.h (sim_state_base): Move `magic' to end of struct.
[deliverable/binutils-gdb.git] / gprof / source.c
index b0c6ecdb479219da3c6c3a07666fadb9242913aa..4421e3f757e4cf933eae2a066fec881b4e6b957c 100644 (file)
@@ -36,7 +36,7 @@ DEFUN (source_file_lookup_path, (path), const char *path)
 
       sf = (Source_File *) xmalloc (sizeof (*sf));
       memset (sf, 0, sizeof (*sf));
-      sf->name = strdup (path);
+      sf->name = xstrdup (path);
       sf->next = first_src_file;
       first_src_file = sf;
     }
This page took 0.041197 seconds and 4 git commands to generate.