summaryrefslogtreecommitdiff
path: root/plugins/fmtp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fmtp')
-rw-r--r--plugins/fmtp/parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/fmtp/parser.c b/plugins/fmtp/parser.c
index fe41e9b..994b7b4 100644
--- a/plugins/fmtp/parser.c
+++ b/plugins/fmtp/parser.c
@@ -116,7 +116,7 @@ static bool parse_field_definition(const fmt_field_def *def, GBinFormat *format,
g_imm_operand_set_default_display(imm, def->disp_rules[i]);
- // TODO : unref(imm)
+ g_object_unref(G_OBJECT(imm));
}
@@ -139,7 +139,7 @@ static bool parse_field_definition(const fmt_field_def *def, GBinFormat *format,
imm = G_IMM_OPERAND(g_arch_instruction_get_operand(instr, 0));
raw = g_imm_operand_get_raw_value(imm);
- // TODO : unref(imm)
+ g_object_unref(G_OBJECT(imm));
for (i = 0; i < def->comment.ccount; i++)
{