diff options
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/links.c | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |