From 4ebfeae88113a33a9c6be2d63dc01165e26051b7 Mon Sep 17 00:00:00 2001
From: Robert Pengelly <robertapengelly@hotmail.com>
Date: Wed, 11 Jun 2025 22:02:01 +0100
Subject: [PATCH] Use xstrdup not strdup

---
 pe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pe.c b/pe.c
index 777c4c1..579a395 100644
--- 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;
-    name = strdup (module_name);
+    name = xstrdup (module_name);
     
     if ((p = strrchr (module_name, '/')) || (p = strrchr (module_name, '\\'))) {
     
-- 
2.34.1