summaryrefslogtreecommitdiff
path: root/plugins/dex
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-04-22 18:54:37 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-04-22 18:54:37 (GMT)
commit5235429714d9cc8425e6178eb7199e7ab55ff3c0 (patch)
treef96b0c4a84ad63106a1e8e1378e140623c30c514 /plugins/dex
parent01402277db54d9fddaa12878f6db7f02c8d8e7ef (diff)
Fixed a mistake when loading a bad field from Dex pool.
Diffstat (limited to 'plugins/dex')
-rw-r--r--plugins/dex/pool.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/dex/pool.c b/plugins/dex/pool.c
index b65c133..9f3d55d 100644
--- a/plugins/dex/pool.c
+++ b/plugins/dex/pool.c
@@ -416,8 +416,7 @@ GBinVariable *get_field_from_dex_pool(GDexFormat *format, uint32_t index)
gffdp_bad_owner:
- g_object_ref(G_OBJECT(type));
- g_object_unref(G_OBJECT(result));
+ g_object_unref(G_OBJECT(field));
gffdp_bad_name: