diff options
Diffstat (limited to 'plugins/androhelpers/params.c')
-rw-r--r-- | plugins/androhelpers/params.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/androhelpers/params.c b/plugins/androhelpers/params.c index d85baca..26f4265 100644 --- a/plugins/androhelpers/params.c +++ b/plugins/androhelpers/params.c @@ -212,6 +212,7 @@ bool replace_parameters(GLoadedBinary *binary) { method = g_dex_class_get_method(class, false, j); visit_all_method_operands(method, instrs); + g_object_unref(G_OBJECT(method)); } meth_count = g_dex_class_count_methods(class, true); @@ -219,8 +220,11 @@ bool replace_parameters(GLoadedBinary *binary) { method = g_dex_class_get_method(class, true, j); visit_all_method_operands(method, instrs); + g_object_unref(G_OBJECT(method)); } + g_object_unref(G_OBJECT(class)); + } g_object_unref(G_OBJECT(proc)); |