summaryrefslogtreecommitdiff
path: root/plugins/fmtp
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-07-12 13:07:55 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-07-12 13:08:42 (GMT)
commita331ff258895865049bf79bc1629dbc744b7faf5 (patch)
treec4f649ba21afcacf974cc6536f03aa97663a9acd /plugins/fmtp
parent9b018cede5af54594c0a20847239233153b04ce1 (diff)
Removed the too complex memory share system.
Diffstat (limited to 'plugins/fmtp')
-rw-r--r--plugins/fmtp/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fmtp/parser.c b/plugins/fmtp/parser.c
index ea1e5d8..96aeb11 100644
--- a/plugins/fmtp/parser.c
+++ b/plugins/fmtp/parser.c
@@ -113,7 +113,7 @@ static bool parse_field_definition(const fmt_field_def *def, GBinFormat *format,
{
imm = G_IMM_OPERAND(g_arch_instruction_get_operand(instr, i));
- g_imm_operand_set_default_display(&imm, def->disp_rules[i], G_SHARE_CONTAINER(instr));
+ g_imm_operand_set_default_display(imm, def->disp_rules[i]);
// TODO : unref(imm)