diff options
Diffstat (limited to 'plugins/dex/pool.c')
-rw-r--r-- | plugins/dex/pool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/dex/pool.c b/plugins/dex/pool.c index fb710f3..90c991b 100644 --- a/plugins/dex/pool.c +++ b/plugins/dex/pool.c @@ -37,6 +37,7 @@ #include "dex-int.h" #include "loading.h" +#include "routine.h" @@ -660,7 +661,7 @@ GBinRoutine *get_prototype_from_dex_pool(GDexFormat *format, uint32_t index) type = get_type_from_dex_pool(format, proto_id.return_type_idx); if (type == NULL) goto grfdp_error; - result = g_binary_routine_new(); + result = G_BIN_ROUTINE(g_dex_routine_new()); g_binary_routine_set_return_type(result, type); |