* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
This commit is contained in:
parent
fcdc20a4d3
commit
66ed1d85be
@ -1,3 +1,7 @@
|
||||
Tue Nov 28 12:24:43 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* win32-nat.c (dll_code_sections_add): strdup -> xstrdup.
|
||||
|
||||
Mon Nov 27 11:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* remote.c (remote_write_bytes): Add default case to switch
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user