diff options
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/binary.c | 5 | ||||
-rw-r--r-- | src/analysis/disass/links.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c index f03f75a..4d9e8a8 100644 --- a/src/analysis/binary.c +++ b/src/analysis/binary.c @@ -1669,11 +1669,6 @@ void ack_completed_disassembly(GDelayedDisassembly *disass, GLoadedBinary *binar -#ifdef DEBUG_DUMP_STATS - - display_share_stats(binary->proc); - -#endif diff --git a/src/analysis/disass/links.c b/src/analysis/disass/links.c index 95e8b2e..640d266 100644 --- a/src/analysis/disass/links.c +++ b/src/analysis/disass/links.c @@ -226,8 +226,8 @@ static void convert_immediate_into_target(GArchInstruction *instr, size_t index, { new = G_TARGET_OPERAND(g_target_operand_new(msize, &target)); - if (!g_target_operand_resolve(&new, format, false, NULL)) - /*g_object_unref(G_OBJECT(new))*/; + if (!g_target_operand_resolve(new, format, false)) + g_object_unref(G_OBJECT(new)); else _g_arch_instruction_replace_operand(instr, op, G_ARCH_OPERAND(new)); |