summaryrefslogtreecommitdiff
path: root/gdb/arch/amd64.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch/amd64.c')
-rw-r--r--gdb/arch/amd64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch/amd64.c b/gdb/arch/amd64.c
index a388c7e49d1..b11a4fdc0fc 100644
--- a/gdb/arch/amd64.c
+++ b/gdb/arch/amd64.c
@@ -40,7 +40,7 @@ target_desc *
amd64_create_target_description (uint64_t xcr0, bool is_x32, bool is_linux,
bool segments)
{
- target_desc *tdesc = allocate_target_description ();
+ target_desc *tdesc = allocate_target_description ().release ();
#ifndef IN_PROCESS_AGENT
set_tdesc_architecture (tdesc, is_x32 ? "i386:x64-32" : "i386:x86-64");