diff --git a/src/normalize.c b/src/normalize.c index 18e91c5e..515da8ed 100644 --- a/src/normalize.c +++ b/src/normalize.c @@ -158,8 +158,6 @@ string_tree_t *normalize_string_languages(char *str, uint64_t options, size_t nu ptr += script_len; } - char_array *normalized = char_array_new_size(len); - add_latin_alternatives(tree, str, len, options); size_t non_latin_scripts = kh_size(scripts); @@ -216,8 +214,6 @@ string_tree_t *normalize_string_languages(char *str, uint64_t options, size_t nu } - char_array_destroy(normalized); - kh_destroy(int_set, scripts); string_tree_finalize_token(tree);