* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.

This commit is contained in:
Christopher Faylor
2000-11-28 17:27:38 +00:00
parent fcdc20a4d3
commit 66ed1d85be
3 changed files with 6 additions and 2 deletions

View File

@@ -1540,7 +1540,7 @@ dll_code_sections_add (const char *dll_name, int base_addr, struct target_ops *t
char *name;
if (dll_name == NULL || target == NULL)
return 0;
name = strdup (dll_name);
name = xstrdup (dll_name);
dll_bfd = bfd_openr (name, "pei-i386");
if (dll_bfd == NULL)
return 0;