summaryrefslogtreecommitdiff
path: root/plugins/androhelpers/params.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/androhelpers/params.c')
-rw-r--r--plugins/androhelpers/params.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/androhelpers/params.c b/plugins/androhelpers/params.c
index df56fca..4bf2f6b 100644
--- a/plugins/androhelpers/params.c
+++ b/plugins/androhelpers/params.c
@@ -143,6 +143,8 @@ static void visit_all_method_operands(const GDexMethod *method, GArchInstruction
start = g_binary_routine_get_address(routine);
end = start + g_binary_routine_get_size(routine);
+ g_object_unref(G_OBJECT(routine));
+
for (iter = g_arch_instruction_find_by_address(instrs, start, true);
iter != NULL;
iter = g_arch_instruction_get_next_iter(instrs, iter, end))