diff options
Diffstat (limited to 'src/arch/raw.c')
-rw-r--r-- | src/arch/raw.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/raw.c b/src/arch/raw.c index 8ab788f..e85d865 100644 --- a/src/arch/raw.c +++ b/src/arch/raw.c @@ -468,6 +468,8 @@ static const char *g_raw_instruction_get_keyword(const GRawInstruction *instr, A else size = g_imm_operand_get_size(G_IMM_OPERAND(operand)); + g_object_unref(G_OBJECT(operand)); + return defines[MDS_RANGE(size)]; } @@ -585,6 +587,8 @@ static void g_raw_instruction_print(GRawInstruction *instr, GBufferLine *line, s string[iter++] = byte; + g_object_unref(G_OBJECT(op)); + continue; grip_fallback: @@ -621,6 +625,8 @@ static void g_raw_instruction_print(GRawInstruction *instr, GBufferLine *line, s g_arch_operand_print(op, line, 0/*syntax*/); + g_object_unref(G_OBJECT(op)); + } /* Si au final une chaƮne traine encore */ |