diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-27 18:21:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-27 18:21:17 (GMT) |
commit | 5792b6c860810915d62365125cafc6bff096e405 (patch) | |
tree | 066866c023a3fb9e6d0e2cb36a295e9b8f727669 /src/format/dex/method.c | |
parent | 562a56f01cfb81ff7538418dd183aaa53e90b17c (diff) |
Handled Dalvik code definition loading with more care.
Diffstat (limited to 'src/format/dex/method.c')
-rw-r--r-- | src/format/dex/method.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/format/dex/method.c b/src/format/dex/method.c index ec12119..0f49154 100644 --- a/src/format/dex/method.c +++ b/src/format/dex/method.c @@ -157,6 +157,9 @@ static void g_dex_method_dispose(GDexMethod *method) static void g_dex_method_finalize(GDexMethod *method) { + if (method->has_body) + reset_dex_code_item(&method->body); + G_OBJECT_CLASS(g_dex_method_parent_class)->finalize(G_OBJECT(method)); } |