diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-01-15 14:47:04 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-01-15 14:47:04 (GMT) |
commit | af2ac16182b6243f17e06ec75e441014159abe5e (patch) | |
tree | f0e82673bf5e63e3b06244c2139d8f10dca0203f /src/format/elf | |
parent | 56e060d11c238ac7c7b3ecf0eb0527bbaebd5b4b (diff) |
Improved symbol resolving using fully defined locations.
Diffstat (limited to 'src/format/elf')
-rw-r--r-- | src/format/elf/symbols.c | 2 |
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 { |