summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/symbols.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format/elf/symbols.c b/src/format/elf/symbols.c
index b936a47..8451911 100644
--- a/src/format/elf/symbols.c
+++ b/src/format/elf/symbols.c
@@ -215,6 +215,8 @@ static void register_elf_entry_point(GElfFormat *format, virt_t vaddr, phys_t le
_g_binary_symbol_attach_routine(symbol, routine, STP_ENTRY_POINT);
+ g_object_unref(G_OBJECT(symbol));
+
}
else
{