diff options
Diffstat (limited to 'src/arch/dalvik')
-rw-r--r-- | src/arch/dalvik/link.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/dalvik/link.c b/src/arch/dalvik/link.c index 311f672..694ec65 100644 --- a/src/arch/dalvik/link.c +++ b/src/arch/dalvik/link.c @@ -151,6 +151,8 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor * g_arch_instruction_link_with(instr, target, ILT_CASE_JUMP); + g_object_unref(G_OBJECT(target)); + } /* Autres cas */ @@ -223,6 +225,8 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor * g_arch_instruction_link_with(instr, target, ILT_CASE_JUMP); + g_object_unref(G_OBJECT(target)); + } } @@ -298,6 +302,9 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor * } + if (switch_ins != NULL) + g_object_unref(G_OBJECT(switch_ins)); + } } |