summaryrefslogtreecommitdiff
path: root/src/arch/instruction.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-04-22 21:53:07 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-04-22 21:53:07 (GMT)
commit9c1367eb2e75dfac59f33e851dee8d39542072ac (patch)
treedd999e736e12c47d9d0b90808451d14c6279a85d /src/arch/instruction.c
parenta2979604ebaa3d564908f13e4f9ab345fca0ff28 (diff)
Shared target operands in memory when possible.
Diffstat (limited to 'src/arch/instruction.c')
-rw-r--r--src/arch/instruction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index a2ba138..a9bc4f2 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -643,7 +643,7 @@ bool _g_arch_instruction_replace_operand(GArchInstruction *instr, GArchOperand *
{
rpl_item_in_flat_array(instr->operands, i, &new, sizeof(GArchOperand *));
- g_object_unref(G_OBJECT(old));
+ //g_object_unref(G_OBJECT(old));
}