projects
/
slink.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4a47e5a
)
Use xstrdup not strdup
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Wed, 11 Jun 2025 21:02:01 +0000
(22:02 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Wed, 11 Jun 2025 21:02:01 +0000
(22:02 +0100)
pe.c
patch
|
blob
|
history
diff --git
a/pe.c
b/pe.c
index 777c4c1b3a1c5e977d24415b81651d3fb79773b7..579a395eba8e6783a956d6f0604387492a592a7d 100644
(file)
--- a/
pe.c
+++ b/
pe.c
@@
-759,7
+759,7
@@
struct symbol_info *create_symbol_list (struct export_name *export_name, unsigne
unsigned long i, j;
module_name = state->output_filename;
unsigned long i, j;
module_name = state->output_filename;
- name = strdup (module_name);
+ name =
x
strdup (module_name);
if ((p = strrchr (module_name, '/')) || (p = strrchr (module_name, '\\'))) {
if ((p = strrchr (module_name, '/')) || (p = strrchr (module_name, '\\'))) {