summaryrefslogtreecommitdiff
path: root/src/format/dex
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/dex')
-rw-r--r--src/format/dex/pool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format/dex/pool.c b/src/format/dex/pool.c
index 0c982cd..a869873 100644
--- a/src/format/dex/pool.c
+++ b/src/format/dex/pool.c
@@ -55,8 +55,8 @@ bool find_all_dex_strings(GDexFormat *format)
text = get_string_from_dex_pool(format, i);
if (text == NULL) continue;
- symbol = g_binary_symbol_new(STP_STRING, NULL, i);
- g_binary_symbol_set_alt_name(symbol, strdup(text));
+ symbol = g_binary_symbol_new(STP_STRING);
+ g_binary_symbol_set_alt_label(symbol, text);
g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol);