diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-07-12 13:07:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-07-12 13:08:42 (GMT) |
commit | a331ff258895865049bf79bc1629dbc744b7faf5 (patch) | |
tree | c4f649ba21afcacf974cc6536f03aa97663a9acd /src/analysis/disass | |
parent | 9b018cede5af54594c0a20847239233153b04ce1 (diff) |
Removed the too complex memory share system.
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)); |