summaryrefslogtreecommitdiff
path: root/plugins/dalvik/fetch.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-26 20:39:28 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-26 20:39:28 (GMT)
commit1252efcd18a845a7c2641354838c26ece3d6d873 (patch)
tree13d248454e99b76dd4c61fbd41c8c138ebb61eb7 /plugins/dalvik/fetch.c
parent84efc00d07f9574c3867f96a3a7333b0f9d154e6 (diff)
Increased the reference counter for provided operands and updated code.
Diffstat (limited to 'plugins/dalvik/fetch.c')
-rw-r--r--plugins/dalvik/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dalvik/fetch.c b/plugins/dalvik/fetch.c
index aa17a9f..1ac6fa2 100644
--- a/plugins/dalvik/fetch.c
+++ b/plugins/dalvik/fetch.c
@@ -56,6 +56,8 @@ void help_fetching_with_dalvik_instruction(GArchInstruction *instr, GArchProcess
status = g_imm_operand_to_virt_t(G_IMM_OPERAND(op), &target);
assert(status);
+ g_object_unref(G_OBJECT(op));
+
if (status)
g_proc_context_push_drop_point(G_PROC_CONTEXT(context), DPL_OTHER, target);