summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/x86/arch_x86.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/arch_x86.cpp b/arch/x86/arch_x86.cpp
index cddce41d..a4bae9af 100644
--- a/arch/x86/arch_x86.cpp
+++ b/arch/x86/arch_x86.cpp
@@ -4272,8 +4272,8 @@ public:
result[i].type = IgnoredRelocation;
else
{
- result[i].next = &result[i + 1];
result[i + 1].type = IgnoredRelocation;
+ result[i].next = new BNRelocationInfo(result[i + 1]);
i++;
}
break;